40 lines
1.7 KiB
Java
40 lines
1.7 KiB
Java
package com.google.android.gms.common.api.internal;
|
|
|
|
import android.os.IBinder;
|
|
import android.os.IInterface;
|
|
import android.os.Parcel;
|
|
import android.os.RemoteException;
|
|
import com.google.android.gms.common.api.Status;
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-base@@18.4.0 */
|
|
/* JADX INFO: loaded from: classes2.dex */
|
|
public interface IStatusCallback extends IInterface {
|
|
|
|
/* JADX INFO: compiled from: com.google.android.gms:play-services-base@@18.4.0 */
|
|
public static abstract class Stub extends com.google.android.gms.internal.base.zab implements IStatusCallback {
|
|
public Stub() {
|
|
super("com.google.android.gms.common.api.internal.IStatusCallback");
|
|
}
|
|
|
|
public static IStatusCallback asInterface(IBinder iBinder) {
|
|
if (iBinder == null) {
|
|
return null;
|
|
}
|
|
IInterface iInterfaceQueryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.api.internal.IStatusCallback");
|
|
return iInterfaceQueryLocalInterface instanceof IStatusCallback ? (IStatusCallback) iInterfaceQueryLocalInterface : new zaby(iBinder);
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.base.zab
|
|
protected final boolean zaa(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
|
if (i != 1) {
|
|
return false;
|
|
}
|
|
Status status = (Status) com.google.android.gms.internal.base.zac.zaa(parcel, Status.CREATOR);
|
|
com.google.android.gms.internal.base.zac.zab(parcel);
|
|
onResult(status);
|
|
return true;
|
|
}
|
|
}
|
|
|
|
void onResult(Status status) throws RemoteException;
|
|
} |