Primer paso de la investigacion. Se aportan el .apk, las carpetas con el apk extraido y el apk descompilado. El archivo API_DOCUMENTATION.md es un archivo donde se anotaran los descubrimientos del funcionamiento de la API, y los .py son scripts para probar la funcionalidad de la API con los métodos que vayamos encontrando. Finalmente, los archivos .js son scripts de Frida para extraer informacion de la APP durante la ejecucion.
This commit is contained in:
131
apk_decompiled/sources/com/google/android/gms/maps/zzas.java
Normal file
131
apk_decompiled/sources/com/google/android/gms/maps/zzas.java
Normal file
@@ -0,0 +1,131 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.os.Bundle;
|
||||
import android.os.RemoteException;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.ObjectWrapper;
|
||||
import com.google.android.gms.maps.internal.IStreetViewPanoramaViewDelegate;
|
||||
import com.google.android.gms.maps.internal.StreetViewLifecycleDelegate;
|
||||
import com.google.android.gms.maps.internal.zzcb;
|
||||
import com.google.android.gms.maps.model.RuntimeRemoteException;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
final class zzas implements StreetViewLifecycleDelegate {
|
||||
private final ViewGroup zza;
|
||||
private final IStreetViewPanoramaViewDelegate zzb;
|
||||
private View zzc;
|
||||
|
||||
public zzas(ViewGroup viewGroup, IStreetViewPanoramaViewDelegate iStreetViewPanoramaViewDelegate) {
|
||||
this.zzb = (IStreetViewPanoramaViewDelegate) Preconditions.checkNotNull(iStreetViewPanoramaViewDelegate);
|
||||
this.zza = (ViewGroup) Preconditions.checkNotNull(viewGroup);
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.maps.internal.StreetViewLifecycleDelegate
|
||||
public final void getStreetViewPanoramaAsync(OnStreetViewPanoramaReadyCallback onStreetViewPanoramaReadyCallback) {
|
||||
try {
|
||||
this.zzb.getStreetViewPanoramaAsync(new zzar(this, onStreetViewPanoramaReadyCallback));
|
||||
} 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);
|
||||
this.zzb.onCreate(bundle2);
|
||||
zzcb.zzb(bundle2, bundle);
|
||||
this.zzc = (View) ObjectWrapper.unwrap(this.zzb.getView());
|
||||
this.zza.removeAllViews();
|
||||
this.zza.addView(this.zzc);
|
||||
} catch (RemoteException e4) {
|
||||
throw new RuntimeRemoteException(e4);
|
||||
}
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||||
throw new UnsupportedOperationException("onCreateView not allowed on StreetViewPanoramaViewDelegate");
|
||||
}
|
||||
|
||||
@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() {
|
||||
throw new UnsupportedOperationException("onDestroyView not allowed on StreetViewPanoramaViewDelegate");
|
||||
}
|
||||
|
||||
@Override // com.google.android.gms.dynamic.LifecycleDelegate
|
||||
public final void onInflate(Activity activity, Bundle bundle, Bundle bundle2) {
|
||||
throw new UnsupportedOperationException("onInflate not allowed on StreetViewPanoramaViewDelegate");
|
||||
}
|
||||
|
||||
@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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user