MD5 校验值:5ef3f775189f42f146cf0788a99eebd7
d.java 文件包含反编译后的源代码,请注意,该内容仅供学习和参考使用,不得用于非法用途。
package p1; import android.app.Activity; import android.app.AlertDialog; import android.content.ComponentName; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.net.Uri; import android.os.Build; import android.os.Handler; import android.os.Looper; import android.provider.Settings; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.Window; import android.widget.TextView; import com.android.boom.w; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; public class d { class a implements View.OnClickListener { final Context f33323a; a(Context context) { this.f33323a = context; } @Override public void onClick(View view) { Context context = this.f33323a; d.e(context, context.getPackageName()); } } class b implements Runnable { final Context f33324a; final String f33325b; final String f33326c; class a implements View.OnClickListener { class RunnableC0239a implements Runnable { RunnableC0239a() { } @Override public void run() { System.exit(0); } } a() { } @Override public void onClick(View view) { Context context = b.this.f33324a; d.e(context, context.getPackageName()); view.postDelayed(new RunnableC0239a(), 2000L); } } b(Context context, String str, String str2) { this.f33324a = context; this.f33325b = str; this.f33326c = str2; } @Override public void run() { Window window; int i10; if (!d.a(this.f33324a)) { System.exit(0); return; } TextView textView = (TextView) LayoutInflater.from(this.f33324a).inflate(p1.b.dialog_signature_track, (ViewGroup) null); textView.setText(this.f33325b); AlertDialog create = new AlertDialog.Builder(this.f33324a).setTitle(this.f33326c).setView(textView).setPositiveButton("OK", (DialogInterface.OnClickListener) null).setCancelable(false).create(); if (create != null) { if (create.getWindow() != null) { if (Build.VERSION.SDK_INT >= 26) { window = create.getWindow(); i10 = 2038; } else { window = create.getWindow(); i10 = 2003; } window.setType(i10); create.show(); } create.getButton(-1).setOnClickListener(new a()); } } } public static boolean a(Context context) { boolean canDrawOverlays; if (Build.VERSION.SDK_INT < 23) { return true; } canDrawOverlays = Settings.canDrawOverlays(context); return canDrawOverlays; } public static boolean b(Context context) { try { return (context.getApplicationInfo().flags & 2) != 0; } catch (Exception e10) { e10.printStackTrace(); return false; } } public static String c(Context context) { try { StringBuilder sb2 = new StringBuilder(""); FileInputStream fileInputStream = new FileInputStream(new File(context.getFilesDir(), "dtyz.txt")); byte[] bArr = new byte[1024]; while (true) { int read = fileInputStream.read(bArr); if (read <= 0) { fileInputStream.close(); return sb2.toString(); } sb2.append(new String(bArr, 0, read)); } } catch (Exception e10) { e10.printStackTrace(); return ""; } } public static void d(Context context, String str, String str2) { if (context != null) { try { TextView textView = (TextView) LayoutInflater.from(context).inflate(p1.b.dialog_signature_track, (ViewGroup) null); textView.setText(str2); AlertDialog show = new AlertDialog.Builder(context).setTitle(str).setView(textView).setPositiveButton("OK", (DialogInterface.OnClickListener) null).setCancelable(false).show(); if (show != null) { show.getButton(-1).setOnClickListener(new a(context)); } } catch (Exception e10) { e10.printStackTrace(); System.exit(0); } } } public static void e(Context context, String str) { try { try { Intent launchIntentForPackage = context.getPackageManager().getLaunchIntentForPackage("com.android.vending"); launchIntentForPackage.setComponent(new ComponentName("com.android.vending", "com.google.android.finsky.activities.LaunchUrlHandlerActivity")); launchIntentForPackage.setData(Uri.parse("market://details?id=" + str)); launchIntentForPackage.setFlags(268435456); context.startActivity(launchIntentForPackage); } catch (Exception e10) { e10.printStackTrace(); } } catch (Exception unused) { Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("https://play.google.com/store/apps/details?id=" + str)); intent.setFlags(268435456); context.startActivity(intent); } } public static void f(Context context, String str, String str2) { if (context != null) { try { new Handler(Looper.getMainLooper()).post(new b(context, str2, str)); } catch (Exception e10) { e10.printStackTrace(); System.exit(0); } } } public static void g(Activity activity) { if (b(activity)) { return; } w.a(activity); } public static void h(Context context, String str) { try { File file = new File(context.getFilesDir(), "dtyz.txt"); if (file.exists()) { file.delete(); } FileOutputStream fileOutputStream = new FileOutputStream(file); fileOutputStream.write(str.getBytes()); fileOutputStream.close(); } catch (Exception e10) { e10.printStackTrace(); } } }