- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 lines
1.0 KiB
Java
38 lines
1.0 KiB
Java
package com.google.android.gms.internal.drive;
|
|
|
|
import android.os.RemoteException;
|
|
import com.google.android.gms.common.api.internal.ListenerHolder;
|
|
import com.google.android.gms.common.internal.ICancelToken;
|
|
import com.google.android.gms.drive.events.ListenerToken;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class zzg implements ListenerToken {
|
|
private final ListenerHolder.ListenerKey zzcy;
|
|
private ICancelToken zzcz = null;
|
|
|
|
public zzg(ListenerHolder.ListenerKey listenerKey) {
|
|
this.zzcy = listenerKey;
|
|
}
|
|
|
|
public final void setCancelToken(ICancelToken iCancelToken) {
|
|
this.zzcz = iCancelToken;
|
|
}
|
|
|
|
public final ListenerHolder.ListenerKey zzad() {
|
|
return this.zzcy;
|
|
}
|
|
|
|
public final boolean cancel() {
|
|
ICancelToken iCancelToken = this.zzcz;
|
|
if (iCancelToken == null) {
|
|
return false;
|
|
}
|
|
try {
|
|
iCancelToken.cancel();
|
|
return true;
|
|
} catch (RemoteException unused) {
|
|
return false;
|
|
}
|
|
}
|
|
}
|