正在查看: Fancy Optimizer v4.6.3 应用的 AntivirusSettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 AntivirusSettingsActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.antivirus.ui.activity;
import android.content.SharedPreferences;
import android.os.Bundle;
import com.facebook.internal.i0;
import com.thinkyeah.common.ui.thinklist.a;
import com.thinkyeah.common.ui.view.TitleBar;
import dg.e;
import java.util.ArrayList;
import jl.d;
public class AntivirusSettingsActivity extends v7.a<hl.b> {
public static final int n = 0;
public final androidx.core.view.inputmethod.b l = new androidx.core.view.inputmethod.b(this, 10);
public final a m = new a();
public class a implements a.c {
public a() {
}
public final boolean a(int i, boolean z10) {
return true;
}
public final void b(int i, boolean z10) {
if (i == 1) {
SharedPreferences sharedPreferences = AntivirusSettingsActivity.this.getSharedPreferences("antivirus", 0);
SharedPreferences.Editor edit = sharedPreferences == null ? null : sharedPreferences.edit();
if (edit == null) {
return;
}
edit.putBoolean("is_realtime_monitor_enabled", z10);
edit.apply();
}
}
}
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558437);
TitleBar.a configure = findViewById(2131363196).getConfigure();
configure.e(2131887865);
configure.g(new i0(this, 3));
configure.a();
ArrayList arrayList = new ArrayList();
String string = getString(2131887698);
SharedPreferences sharedPreferences = getSharedPreferences("antivirus", 0);
com.thinkyeah.common.ui.thinklist.a aVar = new com.thinkyeah.common.ui.thinklist.a(string, this, sharedPreferences == null ? true : sharedPreferences.getBoolean("is_realtime_monitor_enabled", true), 1);
aVar.setComment(getString(2131886435));
aVar.setToggleButtonClickListener(this.m);
arrayList.add(aVar);
d dVar = new d(this, 2, getString(2131887909));
androidx.core.view.inputmethod.b bVar = this.l;
dVar.setThinkItemClickListener(bVar);
arrayList.add(dVar);
if (nk.b.v().b(e.h(this, "IsVirusPatternUpdateEnabled"), true)) {
d dVar2 = new d(this, 3, getString(2131887543));
dVar2.setThinkItemClickListener(bVar);
arrayList.add(dVar2);
if (com.google.ads.mediation.unity.b.y(this)) {
d dVar3 = new d(this, 4, "Reset Pattern Version");
dVar3.setThinkItemClickListener(bVar);
arrayList.add(dVar3);
}
}
findViewById(2131363202).setAdapter(new jl.b(arrayList));
}
}