55 lines
1.7 KiB
Java
55 lines
1.7 KiB
Java
package o;
|
|
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.RemoteException;
|
|
import android.util.Log;
|
|
import java.util.Iterator;
|
|
|
|
/* loaded from: classes2.dex */
|
|
final class JBg extends BMB {
|
|
private ServiceConnectionC3033apq a;
|
|
private IBinder d;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public JBg(ServiceConnectionC3033apq serviceConnectionC3033apq, IBinder iBinder) {
|
|
this.a = serviceConnectionC3033apq;
|
|
this.d = iBinder;
|
|
}
|
|
|
|
@Override // o.BMB
|
|
public final void a() {
|
|
InterfaceC15786ibk c1242YtE;
|
|
iNu inu = this.a.b;
|
|
IBinder iBinder = this.d;
|
|
if (iBinder == null) {
|
|
c1242YtE = null;
|
|
} else {
|
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.play.core.appupdate.protocol.IAppUpdateService");
|
|
c1242YtE = queryLocalInterface instanceof InterfaceC15786ibk ? (InterfaceC15786ibk) queryLocalInterface : new C1242YtE(iBinder);
|
|
}
|
|
inu.k = c1242YtE;
|
|
iNu inu2 = this.a.b;
|
|
yax yaxVar = inu2.e;
|
|
Object[] objArr = new Object[0];
|
|
if (Log.isLoggable("PlayCore", 4)) {
|
|
yax.d(yaxVar.d, "linkToDeath", objArr);
|
|
}
|
|
try {
|
|
inu2.k.asBinder().linkToDeath(inu2.i, 0);
|
|
} catch (RemoteException unused) {
|
|
yax yaxVar2 = inu2.e;
|
|
Object[] objArr2 = new Object[0];
|
|
if (Log.isLoggable("PlayCore", 6)) {
|
|
yax.d(yaxVar2.d, "linkToDeath failed", objArr2);
|
|
}
|
|
}
|
|
this.a.b.j = false;
|
|
Iterator it = this.a.b.d.iterator();
|
|
while (it.hasNext()) {
|
|
((Runnable) it.next()).run();
|
|
}
|
|
this.a.b.d.clear();
|
|
}
|
|
}
|