what-the-bank/sources/com/google/android/gms/maps/internal/ILocationSourceDelegate.java

47 lines
1.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.maps.internal;
import android.os.IBinder;
import android.os.IInterface;
import android.os.Parcel;
import android.os.RemoteException;
/* loaded from: classes2.dex */
public interface ILocationSourceDelegate extends IInterface {
void activate(zzah zzahVar) throws RemoteException;
void deactivate() throws RemoteException;
/* loaded from: classes2.dex */
public static abstract class zza extends com.google.android.gms.internal.maps.zzb implements ILocationSourceDelegate {
public zza() {
super("com.google.android.gms.maps.internal.ILocationSourceDelegate");
}
@Override // com.google.android.gms.internal.maps.zzb
public final boolean dispatchTransaction(int i, Parcel parcel, Parcel parcel2, int i2) throws RemoteException {
zzah zzaiVar;
if (i == 1) {
IBinder readStrongBinder = parcel.readStrongBinder();
if (readStrongBinder == null) {
zzaiVar = null;
} else {
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IOnLocationChangeListener");
if (queryLocalInterface instanceof zzah) {
zzaiVar = (zzah) queryLocalInterface;
} else {
zzaiVar = new zzai(readStrongBinder);
}
}
activate(zzaiVar);
} else {
if (i != 2) {
return false;
}
deactivate();
}
parcel2.writeNoException();
return true;
}
}
}