百度手机卫士 v8.4.5版本的 MD5 值为:c65ef854a40bb6200c4d8c4603c58403
以下内容为反编译后的 fvn.java 源代码,内容仅作参考
package dxoptimizer;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import cn.opda.a.phonoalbumshoushou.R;
import com.dianxinos.optimizer.ui.DxRevealButton;
public class fvn extends fur implements View.OnClickListener {
private Intent r;
private String s;
private String t;
private String u;
private String v;
public fvn(Context context, String str) {
super(context, R.layout.jadx_deobf_0x00000815);
this.f = true;
this.d = 1;
this.v = str;
char c = 65535;
switch (str.hashCode()) {
case -1902311919:
if (str.equals("trashclean")) {
c = 1;
break;
}
break;
case -1280107437:
if (str.equals("phoneacc")) {
c = 0;
break;
}
break;
}
switch (c) {
case 0:
this.t = context.getResources().getString(R.string.jadx_deobf_0x00001ffd);
this.u = context.getResources().getString(R.string.jadx_deobf_0x00001ffa);
this.s = context.getResources().getString(R.string.jadx_deobf_0x00001ff9);
this.l = R.drawable.jadx_deobf_0x0000029a;
this.m = R.drawable.jadx_deobf_0x00000296;
this.r = htj.a(context, context.getString(R.string.jadx_deobf_0x00002325), "https://sjwssu.baidu.com/own/yhds/sjjs-kepu", true, true);
return;
case 1:
this.t = context.getResources().getString(R.string.jadx_deobf_0x00001ffc);
this.u = context.getResources().getString(R.string.jadx_deobf_0x00001ffb);
this.s = context.getResources().getString(R.string.jadx_deobf_0x00001ff9);
this.l = R.drawable.jadx_deobf_0x0000029a;
this.m = R.drawable.jadx_deobf_0x00000296;
this.r = htj.a(context, context.getString(R.string.jadx_deobf_0x00002325), "https://sjwssu.baidu.com/own/yhds/ljql-kepu", true, true);
return;
default:
return;
}
}
@Override
public void a(ViewGroup viewGroup, View view) {
super.a(viewGroup, view);
ImageView imageView = (ImageView) view.findViewById(R.id.jadx_deobf_0x00001269);
TextView textView = (TextView) view.findViewById(R.id.jadx_deobf_0x0000126a);
TextView textView2 = (TextView) view.findViewById(R.id.jadx_deobf_0x0000126b);
DxRevealButton dxRevealButton = (DxRevealButton) view.findViewById(R.id.jadx_deobf_0x0000126c);
textView.setText(this.t);
textView2.setText(this.u);
dxRevealButton.setText(this.s);
if (this.l > 0) {
imageView.setImageResource(this.l);
}
if (this.m > 0) {
imageView.setBackgroundResource(this.m);
}
dxRevealButton.setOnClickListener(this);
a(this);
}
@Override
public boolean e() {
String str = this.v;
char c = 65535;
switch (str.hashCode()) {
case -1902311919:
if (str.equals("trashclean")) {
c = 1;
break;
}
break;
case -1280107437:
if (str.equals("phoneacc")) {
c = 0;
break;
}
break;
}
switch (c) {
case 0:
if (!fuq.e() && fuq.f()) {
fuq.a(true);
return true;
}
return false;
case 1:
if (!fuq.g() && fuq.h()) {
fuq.c(true);
return true;
}
return false;
default:
return false;
}
}
@Override
public void onClick(View view) {
a().startActivity(this.r);
fwo.a(a(), this.d, this.g);
}
}