discord-jadx/app/src/main/java/defpackage/o.java

41 lines
1.4 KiB
Java
Raw Normal View History

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