Files
rr3-apk/decompiled/sources/com/google/android/gms/common/internal/zzc.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

62 lines
1.4 KiB
Java

package com.google.android.gms.common.internal;
import android.util.Log;
import androidx.annotation.Nullable;
import java.util.ArrayList;
/* loaded from: classes2.dex */
public abstract class zzc {
@Nullable
private Object zza;
private boolean zzb = false;
final /* synthetic */ BaseGmsClient zzd;
public zzc(BaseGmsClient baseGmsClient, Object obj) {
this.zzd = baseGmsClient;
this.zza = obj;
}
public abstract void zza(Object obj);
public abstract void zzc();
public final void zze() {
Object obj;
synchronized (this) {
try {
obj = this.zza;
if (this.zzb) {
Log.w("GmsClient", "Callback proxy " + toString() + " being reused. This is not safe.");
}
} catch (Throwable th) {
throw th;
}
}
if (obj != null) {
zza(obj);
}
synchronized (this) {
this.zzb = true;
}
zzg();
}
public final void zzf() {
synchronized (this) {
this.zza = null;
}
}
public final void zzg() {
ArrayList arrayList;
ArrayList arrayList2;
zzf();
arrayList = this.zzd.zzt;
synchronized (arrayList) {
arrayList2 = this.zzd.zzt;
arrayList2.remove(this);
}
}
}