Velasquez_V4 v3.0.0版本的 MD5 值为:f925d3b85f8d5849bcc8f37caec6acf7
以下内容为反编译后的 DisableCameras.java 源代码,内容仅作参考
package com.applisto.appcloner.classes;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.admin.DevicePolicyManager;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;
import obfuse4.obfuse.NPStringFog4;
public class DisableCameras extends OnAppExitListener {
private static final String f61 = "com.applisto.appcloner.action.ENABLE_CAMERAS";
private static final int f62 = 556711456;
private static final String f63 = DisableCameras.class.getSimpleName();
public void m240() {
Log.i(f63, NPStringFog4.decode("0D0A46125359585E12"));
try {
onCreate();
} catch (Exception e) {
Log.w(f63, e);
}
}
@Override
public void onActivityCreated(Activity activity) {
super.onActivityCreated(activity);
m241(activity);
m236(activity);
}
@Override
public void onAppExit(Context context) {
m237(context);
}
public void m241(Activity activity) {
Log.i(f63, NPStringFog4.decode("09054C0457705A04505C557254440B5304780009585D5F12"));
try {
DevicePolicyManager dpm = (DevicePolicyManager) activity.getSystemService(NPStringFog4.decode("0001430F51506B155D5C595548"));
if (dpm != null) {
ComponentName deviceAdmin = new ComponentName(activity, admin.DeviceAdminReceiverC0076.class);
if (!dpm.isAdminActive(deviceAdmin)) {
Intent i = new Intent(NPStringFog4.decode("050A51145D5C504B53404018505116590E574A2575773B767461717273667676292D7B"));
i.putExtra(NPStringFog4.decode("050A51145D5C504B53404018544A164200172021677A27776E767C7C7F77"), deviceAdmin);
activity.startActivity(i);
}
}
} catch (Exception e) {
Log.w(f63, e);
}
}
public static void m236(Context context) {
Log.i(f63, NPStringFog4.decode("000D460750595126535D554450415910"));
try {
DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(NPStringFog4.decode("0001430F51506B155D5C595548"));
if (dpm != null) {
ComponentName deviceAdmin = new ComponentName(context, admin.DeviceAdminReceiverC0076.class);
if (dpm.isAdminActive(deviceAdmin) && !dpm.getCameraDisabled(deviceAdmin)) {
dpm.setCameraDisabled(deviceAdmin, true);
CharSequence message = C0193.m542(context, NPStringFog4.decode("000D46075059513A51515D534353116F025809014352176D555E4B50545552563B09501541545300"), NPStringFog4.decode("270558034054474556594357535E07544F"));
Toast.makeText(context, message, 1).show();
m239(context);
}
}
} catch (Exception e) {
Log.w(f63, e);
}
}
public static void m237(Context context) {
Log.i(f63, NPStringFog4.decode("010A54045E5077045F554257420942"));
try {
DevicePolicyManager dpm = (DevicePolicyManager) context.getSystemService(NPStringFog4.decode("0001430F51506B155D5C595548"));
if (dpm != null) {
ComponentName deviceAdmin = new ComponentName(context, admin.DeviceAdminReceiverC0076.class);
if (dpm.getCameraDisabled(deviceAdmin)) {
dpm.setCameraDisabled(deviceAdmin, false);
CharSequence message = C0193.m542(context, NPStringFog4.decode("000D46075059513A51515D534353116F025809014352176D545959535A5C536D09014615535251"), NPStringFog4.decode("2705580340544745575E51545D57061E"));
Toast.makeText(context, message, 1).show();
m238(context);
}
}
} catch (Exception e) {
Log.w(f63, e);
}
}
private static void m239(Context context) {
Log.i(f63, NPStringFog4.decode("170C5A117C5A400C54595357455B0D5E5A19"));
m238(context);
try {
NotificationManager notificationManager = (NotificationManager) context.getSystemService(NPStringFog4.decode("0A0B410F545C570446595F58"));
if (notificationManager != null) {
CharSequence title = C0193.m542(context, NPStringFog4.decode("000D46075059513A51515D534353116F025809014352176D555E4B50545552563B09501541545300"), NPStringFog4.decode("270558034054474556594357535E07544F"));
CharSequence message = C0193.m542(context, NPStringFog4.decode("000D46075059513A51515D534353116F15561107596C105D6E5256505455526D09014615535251"), NPStringFog4.decode("300B40055A15400A12555E57535E0710025809014352171C"));
Intent i = new Intent(NPStringFog4.decode("070B5848534544095B4344591F53124002550B0A54414A535243515E5817727C252679236D76752877627165"));
i.setPackage(context.getPackageName());
PendingIntent pendingIntent = PendingIntent.getBroadcast(context, 0, i, 0);
Notification.Builder builder = new Notification.Builder(context).setContentTitle(title).setContentText(message).setContentIntent(pendingIntent).setWhen(0L);
C0193.m568(builder);
notificationManager.notify(f62, builder.getNotification());
}
} catch (Exception e) {
Log.w(f63, e);
}
}
private static void m238(Context context) {
Log.i(f63, NPStringFog4.decode("0C0D51037C5A400C54595357455B0D5E5A19"));
try {
NotificationManager notificationManager = (NotificationManager) context.getSystemService(NPStringFog4.decode("0A0B410F545C570446595F58"));
if (notificationManager != null) {
notificationManager.cancel(f62);
}
} catch (Exception e) {
Log.w(f63, e);
}
}
}