42 lines
1.2 KiB
Java
42 lines
1.2 KiB
Java
|
package com.google.android.gms.tasks;
|
||
|
|
||
|
import java.util.concurrent.Executor;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
final class zzf<TResult, TContinuationResult> implements OnSuccessListener<TContinuationResult>, OnFailureListener, OnCanceledListener, zzq {
|
||
|
private final Executor zza;
|
||
|
private final Continuation zzb;
|
||
|
private final zzw zzc;
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.OnCanceledListener
|
||
|
public final void onCanceled() {
|
||
|
this.zzc.zzc();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.OnFailureListener
|
||
|
public final void onFailure(Exception exc) {
|
||
|
this.zzc.zza(exc);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.OnSuccessListener
|
||
|
public final void onSuccess(TContinuationResult tcontinuationresult) {
|
||
|
this.zzc.zzb(tcontinuationresult);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.zzq
|
||
|
public final void zzc() {
|
||
|
throw new UnsupportedOperationException();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.tasks.zzq
|
||
|
public final void zzd(Task task) {
|
||
|
this.zza.execute(new zze(this, task));
|
||
|
}
|
||
|
|
||
|
public zzf(Executor executor, Continuation continuation, zzw zzwVar) {
|
||
|
this.zza = executor;
|
||
|
this.zzb = continuation;
|
||
|
this.zzc = zzwVar;
|
||
|
}
|
||
|
}
|