23 lines
758 B
Java
23 lines
758 B
Java
package com.google.android.gms.tasks;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public final class zzb extends CancellationToken {
|
|
private final zzw zza = new zzw();
|
|
|
|
@Override // com.google.android.gms.tasks.CancellationToken
|
|
public final boolean isCancellationRequested() {
|
|
return this.zza.isComplete();
|
|
}
|
|
|
|
@Override // com.google.android.gms.tasks.CancellationToken
|
|
public final CancellationToken onCanceledRequested(OnTokenCanceledListener onTokenCanceledListener) {
|
|
this.zza.addOnSuccessListener(TaskExecutors.MAIN_THREAD, new zza(this, onTokenCanceledListener));
|
|
return this;
|
|
}
|
|
|
|
public final void zza() {
|
|
this.zza.zze(null);
|
|
}
|
|
}
|