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

66 lines
1.9 KiB
Java

package com.google.android.gms.internal.ads;
import androidx.annotation.Nullable;
import com.google.common.util.concurrent.ListenableFuture;
import java.util.ArrayDeque;
/* loaded from: classes3.dex */
public final class zzfes {
private final zzfdw zza;
private final zzfeq zzb;
private final zzfds zzc;
private zzfey zze;
private int zzf = 1;
private final ArrayDeque zzd = new ArrayDeque();
public zzfes(zzfdw zzfdwVar, zzfds zzfdsVar, zzfeq zzfeqVar) {
this.zza = zzfdwVar;
this.zzc = zzfdsVar;
this.zzb = zzfeqVar;
zzfdsVar.zzb(new zzfen(this));
}
/* JADX INFO: Access modifiers changed from: private */
public final synchronized void zzh() {
if (((Boolean) com.google.android.gms.ads.internal.client.zzbe.zzc().zza(zzbcl.zzge)).booleanValue() && !com.google.android.gms.ads.internal.zzv.zzp().zzi().zzg().zzh()) {
this.zzd.clear();
return;
}
if (zzi()) {
while (!this.zzd.isEmpty()) {
zzfer zzferVar = (zzfer) this.zzd.pollFirst();
if (zzferVar == null || (zzferVar.zza() != null && this.zza.zze(zzferVar.zza()))) {
zzfey zzfeyVar = new zzfey(this.zza, this.zzb, zzferVar);
this.zze = zzfeyVar;
zzfeyVar.zzd(new zzfeo(this, zzferVar));
return;
}
}
}
}
private final synchronized boolean zzi() {
return this.zze == null;
}
@Nullable
public final synchronized ListenableFuture zza(zzfer zzferVar) {
this.zzf = 2;
if (zzi()) {
return null;
}
return this.zze.zza(zzferVar);
}
public final synchronized void zze(zzfer zzferVar) {
this.zzd.add(zzferVar);
}
public final /* synthetic */ void zzf() {
synchronized (this) {
this.zzf = 1;
zzh();
}
}
}