Files
adif-api-reverse-engineering/apk_decompiled/sources/com/google/android/gms/tasks/zzc.java

45 lines
1.2 KiB
Java

package com.google.android.gms.tasks;
/* loaded from: classes3.dex */
final class zzc implements Runnable {
final /* synthetic */ Task zza;
final /* synthetic */ zzd zzb;
public zzc(zzd zzdVar, Task task) {
this.zzb = zzdVar;
this.zza = task;
}
@Override // java.lang.Runnable
public final void run() {
zzw zzwVar;
zzw zzwVar2;
zzw zzwVar3;
Continuation continuation;
zzw zzwVar4;
zzw zzwVar5;
if (this.zza.isCanceled()) {
zzwVar5 = this.zzb.zzc;
zzwVar5.zzc();
return;
}
try {
continuation = this.zzb.zzb;
Object then = continuation.then(this.zza);
zzwVar4 = this.zzb.zzc;
zzwVar4.zzb(then);
} catch (RuntimeExecutionException e4) {
if (e4.getCause() instanceof Exception) {
zzwVar3 = this.zzb.zzc;
zzwVar3.zza((Exception) e4.getCause());
} else {
zzwVar2 = this.zzb.zzc;
zzwVar2.zza(e4);
}
} catch (Exception e5) {
zzwVar = this.zzb.zzc;
zzwVar.zza(e5);
}
}
}