- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
38 lines
1.3 KiB
Java
38 lines
1.3 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;
|
|
import androidx.annotation.NonNull;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface ICancelToken extends IInterface {
|
|
|
|
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");
|
|
}
|
|
|
|
@NonNull
|
|
public static ICancelToken asInterface(@NonNull IBinder iBinder) {
|
|
if (iBinder == null) {
|
|
return null;
|
|
}
|
|
IInterface queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.internal.ICancelToken");
|
|
return queryLocalInterface instanceof ICancelToken ? (ICancelToken) queryLocalInterface : new zzx(iBinder);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.common.zzb
|
|
public final boolean zza(int i, @NonNull Parcel parcel, @NonNull Parcel parcel2, int i2) throws RemoteException {
|
|
if (i != 2) {
|
|
return false;
|
|
}
|
|
cancel();
|
|
return true;
|
|
}
|
|
}
|
|
|
|
void cancel() throws RemoteException;
|
|
}
|