正在查看: Fancy Optimizer v4.6.3 应用的 DisguiseLockActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Fancy Optimizer v4.6.3 应用的 DisguiseLockActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fancyclean.boost.applock.ui.activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import com.fancyclean.boost.applock.ui.presenter.DisguiseLockPresenter;
import com.thinkyeah.common.ui.thinklist.ThinkToggleButton;
import com.thinkyeah.common.ui.view.ThinkRecyclerView;
import com.thinkyeah.common.ui.view.TitleBar;
import java.util.ArrayList;
import java.util.List;
import t5.l0;
import t5.m0;
import t5.n0;
import t5.o0;
import t5.p0;
import t5.q0;
import t5.r0;
import u5.l;
import v5.h;
import v5.i;
@gl.d(DisguiseLockPresenter.class)
public class DisguiseLockActivity extends b<h> implements i {
public static final int w = 0;
public l r;
public TitleBar.i s;
public TitleBar.i t;
public TitleBar u;
public ThinkToggleButton v;
@Override
public final void G0(List<r5.c> list) {
l lVar = this.r;
lVar.i = list;
lVar.notifyDataSetChanged();
boolean z10 = false;
SharedPreferences sharedPreferences = getSharedPreferences("app_lock", 0);
if ((sharedPreferences == null ? false : sharedPreferences.getBoolean("disguise_enabled", false)) && !j4.b.G(list)) {
z10 = true;
}
this.s.e = z10;
this.t.e = z10;
this.u.c();
}
@Override
public final void V1(r5.c cVar) {
l lVar = this.r;
lVar.getClass();
cVar.d = true;
lVar.notifyDataSetChanged();
}
@Override
public final void c0(List<r5.c> list) {
l lVar = this.r;
lVar.i = list;
lVar.notifyDataSetChanged();
SharedPreferences sharedPreferences = getSharedPreferences("app_lock", 0);
boolean z10 = (sharedPreferences == null ? false : sharedPreferences.getBoolean("disguise_enabled", false)) && !j4.b.G(list);
this.s.e = z10;
this.t.e = z10;
this.u.c();
this.v.b(false);
}
@Override
public final void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(2131558477);
SharedPreferences sharedPreferences = getSharedPreferences("app_lock", 0);
boolean z10 = sharedPreferences == null ? false : sharedPreferences.getBoolean("disguise_enabled", false);
ArrayList arrayList = new ArrayList();
arrayList.add(new TitleBar.i(new TitleBar.b(2131231441), new TitleBar.e(2131886969), new l0(this)));
TitleBar.i iVar = new TitleBar.i(new TitleBar.b(2131231380), new TitleBar.e(2131887448), new m0(this));
this.s = iVar;
iVar.e = z10;
arrayList.add(iVar);
TitleBar.i iVar2 = new TitleBar.i(new TitleBar.b(2131231381), new TitleBar.e(2131886609), new n0(this));
this.t = iVar2;
iVar2.e = z10;
arrayList.add(iVar2);
TitleBar findViewById = findViewById(2131363196);
this.u = findViewById;
TitleBar.a configure = findViewById.getConfigure();
configure.d(2);
configure.a.h = arrayList;
configure.e(2131887900);
configure.g(new o0(this));
configure.a();
SharedPreferences sharedPreferences2 = getSharedPreferences("app_lock", 0);
boolean z11 = sharedPreferences2 == null ? false : sharedPreferences2.getBoolean("disguise_enabled", false);
TextView textView = (TextView) findViewById(2131363682);
textView.setText(z11 ? 2131886783 : 2131886738);
View findViewById2 = findViewById(2131363805);
findViewById2.setVisibility(z11 ? 8 : 0);
ThinkToggleButton findViewById3 = findViewById(2131363114);
this.v = findViewById3;
findViewById3.setThinkToggleButtonListener(new p0(this, textView, findViewById2));
this.v.setOnClickListener(new q0(this));
if (z11) {
this.v.b(false);
} else {
this.v.a(false);
}
View findViewById4 = findViewById(2131362965);
ThinkRecyclerView findViewById5 = findViewById(2131363230);
findViewById5.setEmptyView(findViewById4);
findViewById5.setLayoutManager(new LinearLayoutManager(this));
l lVar = new l();
this.r = lVar;
lVar.j = new r0(this);
findViewById5.setAdapter(lVar);
}
@Override
public final void v(r5.c cVar) {
l lVar = this.r;
lVar.getClass();
cVar.d = false;
lVar.notifyDataSetChanged();
}
@Override
public final Context getContext() {
return this;
}
}