what-the-bank/sources/com/google/android/gms/tasks/zzp.java

42 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.tasks;
import java.util.concurrent.Executor;
/* loaded from: classes.dex */
final class zzp<TResult, TContinuationResult> implements OnSuccessListener<TContinuationResult>, OnFailureListener, OnCanceledListener, zzq {
private final Executor zza;
private final SuccessContinuation 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 zzo(this, task));
}
public zzp(Executor executor, SuccessContinuation successContinuation, zzw zzwVar) {
this.zza = executor;
this.zzb = successContinuation;
this.zzc = zzwVar;
}
}