137 lines
4.0 KiB
Java
137 lines
4.0 KiB
Java
|
package o;
|
||
|
|
||
|
import android.app.Activity;
|
||
|
import com.google.android.gms.tasks.OnSuccessListener;
|
||
|
import com.google.android.gms.tasks.Task;
|
||
|
import com.google.android.play.core.install.InstallState;
|
||
|
|
||
|
/* renamed from: o.cXY, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public final class C6587cXY {
|
||
|
public LWm c;
|
||
|
public final lRf d;
|
||
|
public final kGL e;
|
||
|
|
||
|
/* renamed from: o.cXY$LWm */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public interface LWm {
|
||
|
void d();
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public C6587cXY(lRf lrf) {
|
||
|
C14957gcv.e(lrf, "");
|
||
|
this.d = lrf;
|
||
|
this.e = new kGL(this) { // from class: o.cXW
|
||
|
private C6587cXY c;
|
||
|
|
||
|
@Override // o.InterfaceC2177aZg
|
||
|
public final void c(InstallState installState) {
|
||
|
C6587cXY.e(this.c, installState);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.c = this;
|
||
|
}
|
||
|
};
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void Wf_(C6587cXY c6587cXY, Activity activity, Igp igp, int i, int i2) {
|
||
|
c6587cXY.d.e(c6587cXY.e);
|
||
|
c6587cXY.d.Nq_(igp, i, activity, i2);
|
||
|
}
|
||
|
|
||
|
public static final /* synthetic */ void c(C6587cXY c6587cXY, int i) {
|
||
|
LWm lWm;
|
||
|
if (i != 11 || (lWm = c6587cXY.c) == null) {
|
||
|
return;
|
||
|
}
|
||
|
lWm.d();
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.cXY$IeS */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class IeS {
|
||
|
private IeS() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ IeS(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
/* renamed from: o.cXY$HBt */
|
||
|
/* loaded from: classes4.dex */
|
||
|
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Igp, C14866gag> {
|
||
|
private int a;
|
||
|
private C6587cXY b;
|
||
|
private int c;
|
||
|
private Activity d;
|
||
|
|
||
|
@Override // o.InterfaceC14894gbR
|
||
|
public final /* synthetic */ C14866gag invoke(Igp igp) {
|
||
|
Igp igp2 = igp;
|
||
|
if (igp2.d == 2 && igp2.MZ_(ymQ.d(this.a)) != null) {
|
||
|
C6587cXY c6587cXY = this.b;
|
||
|
Activity activity = this.d;
|
||
|
C14957gcv.c(igp2, "");
|
||
|
C6587cXY.Wf_(c6587cXY, activity, igp2, this.a, this.c);
|
||
|
} else if (this.a == 1 && igp2.d == 3) {
|
||
|
C6587cXY c6587cXY2 = this.b;
|
||
|
Activity activity2 = this.d;
|
||
|
C14957gcv.c(igp2, "");
|
||
|
C6587cXY.Wf_(c6587cXY2, activity2, igp2, this.a, this.c);
|
||
|
} else {
|
||
|
C6587cXY.c(this.b, igp2.e);
|
||
|
}
|
||
|
return C14866gag.c;
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
HBt(int i, C6587cXY c6587cXY, Activity activity, int i2) {
|
||
|
super(1);
|
||
|
this.a = i;
|
||
|
this.b = c6587cXY;
|
||
|
this.d = activity;
|
||
|
this.c = i2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void Wg_(Activity activity, int i, int i2) {
|
||
|
Task<Igp> e = this.d.e();
|
||
|
final HBt hBt = new HBt(i, this, activity, i2);
|
||
|
e.addOnSuccessListener(new OnSuccessListener(hBt) { // from class: o.cXX
|
||
|
private InterfaceC14894gbR d;
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.OnSuccessListener
|
||
|
public final void onSuccess(Object obj) {
|
||
|
C6587cXY.e(this.d, obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.d = hBt;
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(C6587cXY c6587cXY, InstallState installState) {
|
||
|
LWm lWm;
|
||
|
C14957gcv.e(c6587cXY, "");
|
||
|
C14957gcv.e(installState, "");
|
||
|
if (installState.a() != 11 || (lWm = c6587cXY.c) == null) {
|
||
|
return;
|
||
|
}
|
||
|
lWm.d();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
||
|
C14957gcv.e(interfaceC14894gbR, "");
|
||
|
interfaceC14894gbR.invoke(obj);
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
new IeS((byte) 0);
|
||
|
}
|
||
|
}
|