正在查看: Fancy Optimizer v4.6.3 应用的 RealtimeVirusDetectedActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 RealtimeVirusDetectedActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.antivirus.ui.activity;
import android.content.Intent;
import android.content.pm.PackageManager;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.text.TextUtils;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import com.facebook.internal.i0;
import com.fancyclean.boost.common.avengine.model.ScanResult;
import t4.n;
import t4.o;
import vj.h;
public class RealtimeVirusDetectedActivity extends v7.a<hl.b> {
public static final h n = new h("RealtimeVirusDetectedActivity");
public ImageView l;
public ScanResult m;
public final void X2(Intent intent) {
Drawable drawable;
h hVar = n;
if (intent == null) {
hVar.c("intent is null");
finish();
return;
}
ScanResult scanResult = (ScanResult) intent.getParcelableExtra("realtime_scan_result");
this.m = scanResult;
if (scanResult == null) {
hVar.c("scan result is null");
finish();
return;
}
this.l = (ImageView) findViewById(2131362476);
ImageView imageView = (ImageView) findViewById(2131362418);
TextView textView = (TextView) findViewById(2131363669);
ImageView imageView2 = (ImageView) findViewById(2131362447);
TextView textView2 = (TextView) findViewById(2131363517);
TextView textView3 = (TextView) findViewById(2131363660);
Button button = (Button) findViewById(2131362035);
TextView textView4 = (TextView) findViewById(2131363509);
TextView textView5 = (TextView) findViewById(2131363629);
imageView.setOnClickListener(new n(this));
this.l.setOnClickListener(new o(this));
String str = this.m.d;
h hVar2 = ml.b.a;
PackageManager packageManager = getPackageManager();
try {
drawable = packageManager.getPackageInfo(str, 0).applicationInfo.loadIcon(packageManager);
} catch (Exception e) {
ml.b.a.l((String) null, e);
drawable = null;
}
imageView2.setImageDrawable(drawable);
String str2 = this.m.g;
if (TextUtils.isEmpty(str2)) {
textView.setText(2131887764);
} else {
textView.setText(str2);
}
textView5.setText(this.m.d);
String str3 = this.m.d;
String c = ml.b.c(this, str3);
if (!TextUtils.isEmpty(c)) {
str3 = c;
}
textView2.setText(str3);
String a = d7.h.a(this, this.m.g);
if (TextUtils.isEmpty(a)) {
a = this.m.i;
}
textView3.setText(a);
textView4.setText(2131887518);
textView4.setOnClickListener(new i0(this, 4));
button.setText(2131888151);
button.setOnClickListener(new t4.b(this, 1));
}
public final void finish() {
super/*android.app.Activity*/.finish();
overridePendingTransition(0, 0);
}
public final void onCreate(Bundle bundle) {
overridePendingTransition(0, 0);
super.onCreate(bundle);
setContentView(2131558510);
X2(getIntent());
}
public final void onNewIntent(Intent intent) {
super/*androidx.fragment.app.FragmentActivity*/.onNewIntent(intent);
X2(intent);
}
}