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

84 lines
2.4 KiB
Java

package com.google.android.gms.measurement.internal;
import androidx.annotation.GuardedBy;
import java.util.List;
/* loaded from: classes3.dex */
public final class zzfn<V> {
private static final Object zza = new Object();
private final String zzb;
private final zzfl<V> zzc;
private final V zzd;
private final Object zze;
@GuardedBy("overrideLock")
private volatile V zzf;
@GuardedBy("cachingLock")
private volatile V zzg;
public final V zza(V v) {
List<zzfn> list;
synchronized (this.zze) {
}
if (v != null) {
return v;
}
if (zzfk.zza == null) {
return this.zzd;
}
synchronized (zza) {
try {
if (zzad.zza()) {
return this.zzg == null ? this.zzd : this.zzg;
}
try {
list = zzbh.zzdf;
for (zzfn zzfnVar : list) {
if (zzad.zza()) {
throw new IllegalStateException("Refreshing flag cache must be done on a worker thread.");
}
V v2 = null;
try {
zzfl<V> zzflVar = zzfnVar.zzc;
if (zzflVar != null) {
v2 = zzflVar.zza();
}
} catch (IllegalStateException unused) {
}
synchronized (zza) {
zzfnVar.zzg = v2;
}
}
} catch (SecurityException unused2) {
}
zzfl<V> zzflVar2 = this.zzc;
if (zzflVar2 == null) {
return this.zzd;
}
try {
return zzflVar2.zza();
} catch (IllegalStateException unused3) {
return this.zzd;
} catch (SecurityException unused4) {
return this.zzd;
}
} finally {
}
}
}
public final String zza() {
return this.zzb;
}
private zzfn(String str, V v, V v2, zzfl<V> zzflVar) {
this.zze = new Object();
this.zzf = null;
this.zzg = null;
this.zzb = str;
this.zzd = v;
this.zzc = zzflVar;
}
}