Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,43 @@
package com.google.android.gms.tasks;
import java.util.ArrayDeque;
import java.util.Queue;
/* JADX INFO: compiled from: com.google.android.gms:play-services-tasks@@18.1.0 */
/* JADX INFO: loaded from: classes2.dex */
final class zzr {
private final Object zza = new Object();
private Queue zzb;
private boolean zzc;
zzr() {
}
public final void zza(zzq zzqVar) {
synchronized (this.zza) {
if (this.zzb == null) {
this.zzb = new ArrayDeque();
}
this.zzb.add(zzqVar);
}
}
public final void zzb(Task task) {
zzq zzqVar;
synchronized (this.zza) {
if (this.zzb != null && !this.zzc) {
this.zzc = true;
while (true) {
synchronized (this.zza) {
zzqVar = (zzq) this.zzb.poll();
if (zzqVar == null) {
this.zzc = false;
return;
}
}
zzqVar.zzd(task);
}
}
}
}
}