2021-11-08 18:25:28 +00:00
|
|
|
package defpackage;
|
|
|
|
|
2021-12-17 22:03:14 +00:00
|
|
|
import com.discord.views.calls.VideoCallParticipantView;
|
|
|
|
import d0.z.d.m;
|
2021-11-08 18:25:28 +00:00
|
|
|
import d0.z.d.o;
|
|
|
|
import kotlin.Unit;
|
2021-12-17 22:03:14 +00:00
|
|
|
import kotlin.jvm.functions.Function1;
|
|
|
|
import rx.Subscription;
|
2021-11-08 18:25:28 +00:00
|
|
|
/* compiled from: kotlin-style lambda group */
|
|
|
|
/* renamed from: r reason: default package */
|
2021-12-17 22:03:14 +00:00
|
|
|
public final class r extends o implements Function1<Subscription, Unit> {
|
|
|
|
public final /* synthetic */ int j;
|
|
|
|
public final /* synthetic */ Object k;
|
2021-11-08 18:25:28 +00:00
|
|
|
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
2021-12-17 22:03:14 +00:00
|
|
|
public r(int i, Object obj) {
|
|
|
|
super(1);
|
|
|
|
this.j = i;
|
|
|
|
this.k = obj;
|
2021-11-08 18:25:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Return type fixed from 'java.lang.Object' to match base method */
|
2021-12-17 22:03:14 +00:00
|
|
|
/* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */
|
|
|
|
@Override // kotlin.jvm.functions.Function1
|
|
|
|
public final Unit invoke(Subscription subscription) {
|
|
|
|
int i = this.j;
|
|
|
|
if (i == 0) {
|
|
|
|
Subscription subscription2 = subscription;
|
|
|
|
m.checkNotNullParameter(subscription2, "it");
|
|
|
|
((VideoCallParticipantView) this.k).q = subscription2;
|
2021-11-08 18:25:28 +00:00
|
|
|
return Unit.a;
|
2021-12-17 22:03:14 +00:00
|
|
|
} else if (i == 1) {
|
|
|
|
Subscription subscription3 = subscription;
|
|
|
|
m.checkNotNullParameter(subscription3, "it");
|
|
|
|
((VideoCallParticipantView) this.k).o = subscription3;
|
2021-11-08 18:25:28 +00:00
|
|
|
return Unit.a;
|
2021-12-17 22:03:14 +00:00
|
|
|
} else {
|
|
|
|
throw null;
|
2021-11-08 18:25:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|