Files
rr3-apk/decompiled/sources/com/google/android/gms/common/internal/zze.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

55 lines
1.9 KiB
Java

package com.google.android.gms.common.internal;
import android.content.ComponentName;
import android.content.ServiceConnection;
import android.os.Handler;
import android.os.IBinder;
import android.os.IInterface;
import androidx.annotation.VisibleForTesting;
@VisibleForTesting
/* loaded from: classes2.dex */
public final class zze implements ServiceConnection {
final /* synthetic */ BaseGmsClient zza;
private final int zzb;
public zze(BaseGmsClient baseGmsClient, int i) {
this.zza = baseGmsClient;
this.zzb = i;
}
@Override // android.content.ServiceConnection
public final void onServiceConnected(ComponentName componentName, IBinder iBinder) {
Object obj;
BaseGmsClient baseGmsClient = this.zza;
if (iBinder == null) {
BaseGmsClient.zzk(baseGmsClient, 16);
return;
}
obj = baseGmsClient.zzq;
synchronized (obj) {
try {
BaseGmsClient baseGmsClient2 = this.zza;
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.IGmsServiceBroker");
baseGmsClient2.zzr = (queryLocalInterface == null || !(queryLocalInterface instanceof IGmsServiceBroker)) ? new zzad(iBinder) : (IGmsServiceBroker) queryLocalInterface;
} catch (Throwable th) {
throw th;
}
}
this.zza.zzl(0, null, this.zzb);
}
@Override // android.content.ServiceConnection
public final void onServiceDisconnected(ComponentName componentName) {
Object obj;
obj = this.zza.zzq;
synchronized (obj) {
this.zza.zzr = null;
}
BaseGmsClient baseGmsClient = this.zza;
int i = this.zzb;
Handler handler = baseGmsClient.zzb;
handler.sendMessage(handler.obtainMessage(6, i, 1));
}
}