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,39 @@
package com.google.android.gms.tasks;
import java.util.concurrent.CancellationException;
/* JADX INFO: compiled from: com.google.android.gms:play-services-tasks@@18.1.0 */
/* JADX INFO: loaded from: classes2.dex */
final class zzo implements Runnable {
final /* synthetic */ Task zza;
final /* synthetic */ zzp zzb;
zzo(zzp zzpVar, Task task) {
this.zzb = zzpVar;
this.zza = task;
}
@Override // java.lang.Runnable
public final void run() {
try {
Task taskThen = this.zzb.zzb.then(this.zza.getResult());
if (taskThen == null) {
this.zzb.onFailure(new NullPointerException("Continuation returned null"));
return;
}
taskThen.addOnSuccessListener(TaskExecutors.zza, this.zzb);
taskThen.addOnFailureListener(TaskExecutors.zza, this.zzb);
taskThen.addOnCanceledListener(TaskExecutors.zza, this.zzb);
} catch (RuntimeExecutionException e) {
if (e.getCause() instanceof Exception) {
this.zzb.onFailure((Exception) e.getCause());
} else {
this.zzb.onFailure(e);
}
} catch (CancellationException unused) {
this.zzb.onCanceled();
} catch (Exception e2) {
this.zzb.onFailure(e2);
}
}
}