package com.ali.mobisecenhance;
import android.app.Application;
import android.content.Context;
public class StubApplication extends Application {
static {
String arch = "";
try {
Class<?> clazz = Class.forName("android.os.SystemProperties");
Class[] r6_Class_A = new Class[1];
r6_Class_A[0] = String.class;
Object[] r5_Object_A = new Object[1];
r5_Object_A[0] = "ro.product.cpu.abi";
arch = (String) clazz.getDeclaredMethod("get", r6_Class_A).invoke(clazz, r5_Object_A);
} catch (Exception e) {
e.printStackTrace();
}
if (arch.equalsIgnoreCase("x86")) {
System.loadLibrary("mobisecx");
} else {
System.loadLibrary("mobisec");
}
}
public StubApplication() {
super();
}
private native void attachBaseContextIT(Context r1_Context);
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
attachBaseContextIT(base);
}
public native void onCreate();
}
import android.app.Application;
import android.content.Context;
public class StubApplication extends Application {
static {
String arch = "";
try {
Class<?> clazz = Class.forName("android.os.SystemProperties");
Class[] r6_Class_A = new Class[1];
r6_Class_A[0] = String.class;
Object[] r5_Object_A = new Object[1];
r5_Object_A[0] = "ro.product.cpu.abi";
arch = (String) clazz.getDeclaredMethod("get", r6_Class_A).invoke(clazz, r5_Object_A);
} catch (Exception e) {
e.printStackTrace();
}
if (arch.equalsIgnoreCase("x86")) {
System.loadLibrary("mobisecx");
} else {
System.loadLibrary("mobisec");
}
}
public StubApplication() {
super();
}
private native void attachBaseContextIT(Context r1_Context);
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
attachBaseContextIT(base);
}
public native void onCreate();
}