45 lines
1.1 KiB
Java
45 lines
1.1 KiB
Java
package com.google.android.gms.tasks;
|
|
|
|
/* loaded from: classes.dex */
|
|
final class zzd implements Runnable {
|
|
private final /* synthetic */ Task a;
|
|
private final /* synthetic */ zzc b;
|
|
|
|
zzd(zzc zzcVar, Task task) {
|
|
this.b = zzcVar;
|
|
this.a = task;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zzu zzuVar;
|
|
zzu zzuVar2;
|
|
zzu zzuVar3;
|
|
Continuation continuation;
|
|
zzu zzuVar4;
|
|
zzu zzuVar5;
|
|
if (this.a.c()) {
|
|
zzuVar5 = this.b.c;
|
|
zzuVar5.f();
|
|
return;
|
|
}
|
|
try {
|
|
continuation = this.b.b;
|
|
Object a = continuation.a(this.a);
|
|
zzuVar4 = this.b.c;
|
|
zzuVar4.a((zzu) a);
|
|
} catch (RuntimeExecutionException e) {
|
|
if (e.getCause() instanceof Exception) {
|
|
zzuVar3 = this.b.c;
|
|
zzuVar3.a((Exception) e.getCause());
|
|
} else {
|
|
zzuVar2 = this.b.c;
|
|
zzuVar2.a((Exception) e);
|
|
}
|
|
} catch (Exception e2) {
|
|
zzuVar = this.b.c;
|
|
zzuVar.a(e2);
|
|
}
|
|
}
|
|
}
|