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:
101
apk_decompiled/sources/com/google/android/gms/maps/MapView.java
Normal file
101
apk_decompiled/sources/com/google/android/gms/maps/MapView.java
Normal file
@@ -0,0 +1,101 @@
|
||||
package com.google.android.gms.maps;
|
||||
|
||||
import android.content.Context;
|
||||
import android.os.Bundle;
|
||||
import android.os.StrictMode;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.FrameLayout;
|
||||
import com.google.android.gms.common.internal.Preconditions;
|
||||
import com.google.android.gms.dynamic.DeferredLifecycleHelper;
|
||||
|
||||
/* loaded from: classes3.dex */
|
||||
public class MapView extends FrameLayout {
|
||||
private final zzai zza;
|
||||
|
||||
public MapView(Context context) {
|
||||
super(context);
|
||||
this.zza = new zzai(this, context, null);
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public void getMapAsync(OnMapReadyCallback onMapReadyCallback) {
|
||||
Preconditions.checkMainThread("getMapAsync() must be called on the main thread");
|
||||
Preconditions.checkNotNull(onMapReadyCallback, "callback must not be null.");
|
||||
this.zza.zza(onMapReadyCallback);
|
||||
}
|
||||
|
||||
public void onCreate(Bundle bundle) {
|
||||
StrictMode.ThreadPolicy threadPolicy = StrictMode.getThreadPolicy();
|
||||
StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder(threadPolicy).permitAll().build());
|
||||
try {
|
||||
this.zza.onCreate(bundle);
|
||||
if (this.zza.getDelegate() == null) {
|
||||
DeferredLifecycleHelper.showGooglePlayUnavailableMessage(this);
|
||||
}
|
||||
} finally {
|
||||
StrictMode.setThreadPolicy(threadPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
public void onDestroy() {
|
||||
this.zza.onDestroy();
|
||||
}
|
||||
|
||||
public void onEnterAmbient(Bundle bundle) {
|
||||
Preconditions.checkMainThread("onEnterAmbient() must be called on the main thread");
|
||||
zzai zzaiVar = this.zza;
|
||||
if (zzaiVar.getDelegate() != null) {
|
||||
((zzah) zzaiVar.getDelegate()).zza(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
public void onExitAmbient() {
|
||||
Preconditions.checkMainThread("onExitAmbient() must be called on the main thread");
|
||||
zzai zzaiVar = this.zza;
|
||||
if (zzaiVar.getDelegate() != null) {
|
||||
((zzah) zzaiVar.getDelegate()).zzb();
|
||||
}
|
||||
}
|
||||
|
||||
public void onLowMemory() {
|
||||
this.zza.onLowMemory();
|
||||
}
|
||||
|
||||
public void onPause() {
|
||||
this.zza.onPause();
|
||||
}
|
||||
|
||||
public void onResume() {
|
||||
this.zza.onResume();
|
||||
}
|
||||
|
||||
public void onSaveInstanceState(Bundle bundle) {
|
||||
this.zza.onSaveInstanceState(bundle);
|
||||
}
|
||||
|
||||
public void onStart() {
|
||||
this.zza.onStart();
|
||||
}
|
||||
|
||||
public void onStop() {
|
||||
this.zza.onStop();
|
||||
}
|
||||
|
||||
public MapView(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet);
|
||||
this.zza = new zzai(this, context, GoogleMapOptions.createFromAttributes(context, attributeSet));
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public MapView(Context context, AttributeSet attributeSet, int i) {
|
||||
super(context, attributeSet, i);
|
||||
this.zza = new zzai(this, context, GoogleMapOptions.createFromAttributes(context, attributeSet));
|
||||
setClickable(true);
|
||||
}
|
||||
|
||||
public MapView(Context context, GoogleMapOptions googleMapOptions) {
|
||||
super(context);
|
||||
this.zza = new zzai(this, context, googleMapOptions);
|
||||
setClickable(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user