Files
rr3-apk/decompiled/sources/com/google/android/gms/tasks/zzr.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

48 lines
1.3 KiB
Java

package com.google.android.gms.tasks;
import androidx.annotation.NonNull;
import java.util.ArrayDeque;
import java.util.Queue;
/* loaded from: classes3.dex */
final class zzr {
private final Object zza = new Object();
private Queue zzb;
private boolean zzc;
public final void zza(@NonNull zzq zzqVar) {
synchronized (this.zza) {
try {
if (this.zzb == null) {
this.zzb = new ArrayDeque();
}
this.zzb.add(zzqVar);
} catch (Throwable th) {
throw th;
}
}
}
public final void zzb(@NonNull Task task) {
zzq zzqVar;
synchronized (this.zza) {
if (this.zzb != null && !this.zzc) {
this.zzc = true;
while (true) {
synchronized (this.zza) {
try {
zzqVar = (zzq) this.zzb.poll();
if (zzqVar == null) {
this.zzc = false;
return;
}
} finally {
}
}
zzqVar.zzd(task);
}
}
}
}
}