Initial import of ADIF API reverse-engineering toolkit
This commit is contained in:
182
apk_decompiled/sources/com/google/android/gms/maps/zzav.java
Normal file
182
apk_decompiled/sources/com/google/android/gms/maps/zzav.java
Normal file
@@ -0,0 +1,182 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
import android.os.StrictMode;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.fragment.app.K;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.IObjectWrapper;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.maps.internal.IMapFragmentDelegate;
|
||||
import com.google.android.gms.maps.internal.MapLifecycleDelegate;
|
||||
import com.google.android.gms.maps.internal.zzcb;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
|
||||
/* JADX INFO: Access modifiers changed from: package-private */
|
||||
/* loaded from: classes3.dex */
|
||||
public final class zzav implements MapLifecycleDelegate {
|
||||
private final K zza;
|
||||
private final IMapFragmentDelegate zzb;
|
||||
|
||||
public zzav(K k4, IMapFragmentDelegate iMapFragmentDelegate) {
|
||||
this.zzb = (IMapFragmentDelegate) Preconditions.checkNotNull(iMapFragmentDelegate);
|
||||
this.zza = (K) Preconditions.checkNotNull(k4);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.MapLifecycleDelegate
|
||||
public final void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
|
||||
try {
|
||||
this.zzb.getMapAsync(new zzau(this, onMapReadyCallback));
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onCreate(Bundle bundle) {
|
||||
try {
|
||||
Bundle bundle2 = new Bundle();
|
||||
zzcb.zzb(bundle, bundle2);
|
||||
Bundle arguments = this.zza.getArguments();
|
||||
if (arguments != null && arguments.containsKey("MapOptions")) {
|
||||
zzcb.zzc(bundle2, "MapOptions", arguments.getParcelable("MapOptions"));
|
||||
}
|
||||
this.zzb.onCreate(bundle2);
|
||||
zzcb.zzb(bundle2, bundle);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
try {
|
||||
Bundle bundle2 = new Bundle();
|
||||
zzcb.zzb(bundle, bundle2);
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
IObjectWrapper onCreateView = this.zzb.onCreateView(ObjectWrapper.wrap(layoutInflater), ObjectWrapper.wrap(viewGroup), bundle2);
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
zzcb.zzb(bundle2, bundle);
|
||||
return (View) ObjectWrapper.unwrap(onCreateView);
|
||||
} catch (Throwable th) {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
throw th;
|
||||
}
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onDestroy() {
|
||||
try {
|
||||
this.zzb.onDestroy();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onDestroyView() {
|
||||
try {
|
||||
this.zzb.onDestroyView();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onInflate(Activity activity, Bundle bundle, Bundle bundle2) {
|
||||
GoogleMapOptions googleMapOptions = (GoogleMapOptions) bundle.getParcelable("MapOptions");
|
||||
try {
|
||||
Bundle bundle3 = new Bundle();
|
||||
zzcb.zzb(bundle2, bundle3);
|
||||
this.zzb.onInflate(ObjectWrapper.wrap(activity), googleMapOptions, bundle3);
|
||||
zzcb.zzb(bundle3, bundle2);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onLowMemory() {
|
||||
try {
|
||||
this.zzb.onLowMemory();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onPause() {
|
||||
try {
|
||||
this.zzb.onPause();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onResume() {
|
||||
try {
|
||||
this.zzb.onResume();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onSaveInstanceState(Bundle bundle) {
|
||||
try {
|
||||
Bundle bundle2 = new Bundle();
|
||||
zzcb.zzb(bundle, bundle2);
|
||||
this.zzb.onSaveInstanceState(bundle2);
|
||||
zzcb.zzb(bundle2, bundle);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onStart() {
|
||||
try {
|
||||
this.zzb.onStart();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onStop() {
|
||||
try {
|
||||
this.zzb.onStop();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void zza(Bundle bundle) {
|
||||
try {
|
||||
Bundle bundle2 = new Bundle();
|
||||
zzcb.zzb(bundle, bundle2);
|
||||
this.zzb.onEnterAmbient(bundle2);
|
||||
zzcb.zzb(bundle2, bundle);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
public final void zzb() {
|
||||
try {
|
||||
this.zzb.onExitAmbient();
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user