46 lines
1.2 KiB
Java
46 lines
1.2 KiB
Java
package com.google.android.gms.tasks;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zzc implements Runnable {
|
|
final Task zza;
|
|
final zzd zzb;
|
|
|
|
@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 e) {
|
|
if (e.getCause() instanceof Exception) {
|
|
zzwVar3 = this.zzb.zzc;
|
|
zzwVar3.zza((Exception) e.getCause());
|
|
} else {
|
|
zzwVar2 = this.zzb.zzc;
|
|
zzwVar2.zza(e);
|
|
}
|
|
} catch (Exception e2) {
|
|
zzwVar = this.zzb.zzc;
|
|
zzwVar.zza(e2);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzc(zzd zzdVar, Task task) {
|
|
this.zzb = zzdVar;
|
|
this.zza = task;
|
|
}
|
|
}
|