111 lines
3.9 KiB
Java
111 lines
3.9 KiB
Java
|
package com.google.android.gms.maps.internal;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
import android.os.IBinder;
|
||
|
import android.os.IInterface;
|
||
|
import android.os.Parcel;
|
||
|
import android.os.RemoteException;
|
||
|
import com.google.android.gms.dynamic.IObjectWrapper;
|
||
|
|
||
|
/* loaded from: classes2.dex */
|
||
|
public final class zzk extends com.google.android.gms.internal.maps.zza implements IMapViewDelegate {
|
||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
||
|
public zzk(IBinder iBinder) {
|
||
|
super(iBinder, "com.google.android.gms.maps.internal.IMapViewDelegate");
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final IGoogleMapDelegate getMap() throws RemoteException {
|
||
|
IGoogleMapDelegate zzgVar;
|
||
|
Parcel zza = zza(1, zza());
|
||
|
IBinder readStrongBinder = zza.readStrongBinder();
|
||
|
if (readStrongBinder == null) {
|
||
|
zzgVar = null;
|
||
|
} else {
|
||
|
IInterface queryLocalInterface = readStrongBinder.queryLocalInterface("com.google.android.gms.maps.internal.IGoogleMapDelegate");
|
||
|
if (queryLocalInterface instanceof IGoogleMapDelegate) {
|
||
|
zzgVar = (IGoogleMapDelegate) queryLocalInterface;
|
||
|
} else {
|
||
|
zzgVar = new zzg(readStrongBinder);
|
||
|
}
|
||
|
}
|
||
|
zza.recycle();
|
||
|
return zzgVar;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onCreate(Bundle bundle) throws RemoteException {
|
||
|
Parcel zza = zza();
|
||
|
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
|
||
|
zzb(2, zza);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onResume() throws RemoteException {
|
||
|
zzb(3, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onPause() throws RemoteException {
|
||
|
zzb(4, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onDestroy() throws RemoteException {
|
||
|
zzb(5, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onLowMemory() throws RemoteException {
|
||
|
zzb(6, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onSaveInstanceState(Bundle bundle) throws RemoteException {
|
||
|
Parcel zza = zza();
|
||
|
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
|
||
|
Parcel zza2 = zza(7, zza);
|
||
|
if (zza2.readInt() != 0) {
|
||
|
bundle.readFromParcel(zza2);
|
||
|
}
|
||
|
zza2.recycle();
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final IObjectWrapper getView() throws RemoteException {
|
||
|
Parcel zza = zza(8, zza());
|
||
|
IObjectWrapper asInterface = IObjectWrapper.Stub.asInterface(zza.readStrongBinder());
|
||
|
zza.recycle();
|
||
|
return asInterface;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void getMapAsync(zzap zzapVar) throws RemoteException {
|
||
|
Parcel zza = zza();
|
||
|
com.google.android.gms.internal.maps.zzc.zza(zza, zzapVar);
|
||
|
zzb(9, zza);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onEnterAmbient(Bundle bundle) throws RemoteException {
|
||
|
Parcel zza = zza();
|
||
|
com.google.android.gms.internal.maps.zzc.zza(zza, bundle);
|
||
|
zzb(10, zza);
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onExitAmbient() throws RemoteException {
|
||
|
zzb(11, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onStart() throws RemoteException {
|
||
|
zzb(12, zza());
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.maps.internal.IMapViewDelegate
|
||
|
public final void onStop() throws RemoteException {
|
||
|
zzb(13, zza());
|
||
|
}
|
||
|
}
|