37 lines
1.4 KiB
Java
37 lines
1.4 KiB
Java
package com.google.android.gms.common.internal;
|
|
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.Parcel;
|
|
import android.os.RemoteException;
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
public interface ICancelToken extends IInterface {
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-basement@@18.3.0 */
|
|
public static abstract class Stub extends com.google.android.gms.internal.common.zzb implements ICancelToken {
|
|
public Stub() {
|
|
super("com.google.android.gms.common.internal.ICancelToken");
|
|
}
|
|
|
|
public static ICancelToken asInterface(IBinder iBinder) {
|
|
if (iBinder == null) {
|
|
return null;
|
|
}
|
|
IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.ICancelToken");
|
|
return iInterfaceQueryLocalInterface instanceof ICancelToken ? (ICancelToken) iInterfaceQueryLocalInterface : new zzx(iBinder);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.common.zzb
|
|
protected final boolean zza(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
|
if (i != 2) {
|
|
return false;
|
|
}
|
|
cancel();
|
|
return true;
|
|
}
|
|
}
|
|
|
|
void cancel() throws RemoteException;
|
|
} |