38 lines
1.4 KiB
Java
38 lines
1.4 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;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface IStatusCallback extends IInterface {
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
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 queryLocalInterface = iBinder.queryLocalInterface("com.google.android.gms.common.api.internal.IStatusCallback");
|
||
|
return queryLocalInterface instanceof IStatusCallback ? (IStatusCallback) queryLocalInterface : new zaby(iBinder);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.base.zab
|
||
|
public final boolean zaa(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
|
||
|
if (i != 1) {
|
||
|
return false;
|
||
|
}
|
||
|
onResult((Status) com.google.android.gms.internal.base.zac.zaa(parcel, Status.CREATOR));
|
||
|
return true;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
void onResult(Status status) throws RemoteException;
|
||
|
}
|