百度手机卫士 v8.6.2版本的 MD5 值为:fa60cb367e40201705a2d9f9ce2cbfdf
以下内容为反编译后的 gai.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.module.recommend.data.RecommendBaseBean;
import com.dianxinos.optimizer.module.recommend.data.RelationalRecommendConstants;
import com.dianxinos.optimizer.ui.DxRevealButton;
public class gai extends gaq implements View.OnClickListener {
private Intent r;
public gai(Context context, String str, RecommendBaseBean recommendBaseBean) {
super(context);
this.g = str;
char c = 65535;
switch (str.hashCode()) {
case -1902311919:
if (str.equals(RelationalRecommendConstants.RECOM_CATEGORY_TRASHCLEAN)) {
c = 1;
break;
}
break;
case -1280107437:
if (str.equals(RelationalRecommendConstants.RECOM_CATEGORY_PHONEACC)) {
c = 0;
break;
}
break;
}
switch (c) {
case 0:
a(1, recommendBaseBean, context.getResources().getString(R.string.jadx_deobf_0x000020e6), context.getResources().getString(R.string.jadx_deobf_0x000020e3), context.getResources().getString(R.string.jadx_deobf_0x000020e2), R.drawable.jadx_deobf_0x000002c7, R.drawable.jadx_deobf_0x000002c3);
this.r = hyt.a(context, context.getString(R.string.jadx_deobf_0x00002457), "https://sjwssu.baidu.com/own/yhds/sjjs-kepu", true, true);
return;
case 1:
a(1, recommendBaseBean, context.getResources().getString(R.string.jadx_deobf_0x000020e5), context.getResources().getString(R.string.jadx_deobf_0x000020e4), context.getResources().getString(R.string.jadx_deobf_0x000020e2), R.drawable.jadx_deobf_0x000002c7, R.drawable.jadx_deobf_0x000002c3);
this.r = hyt.a(context, context.getString(R.string.jadx_deobf_0x00002457), "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);
this.v = (ImageView) view.findViewById(R.id.jadx_deobf_0x000012f5);
this.w = (TextView) view.findViewById(R.id.jadx_deobf_0x000012f6);
this.x = (TextView) view.findViewById(R.id.jadx_deobf_0x000012f8);
this.y = (DxRevealButton) view.findViewById(R.id.jadx_deobf_0x000012f9);
this.y.setOnClickListener(this);
l();
a(this);
}
@Override
public boolean e() {
String str = this.g;
char c = 65535;
switch (str.hashCode()) {
case -1902311919:
if (str.equals(RelationalRecommendConstants.RECOM_CATEGORY_TRASHCLEAN)) {
c = 1;
break;
}
break;
case -1280107437:
if (str.equals(RelationalRecommendConstants.RECOM_CATEGORY_PHONEACC)) {
c = 0;
break;
}
break;
}
switch (c) {
case 0:
if (!fzk.e() && fzk.f()) {
fzk.a(true);
return true;
}
return false;
case 1:
if (!fzk.g() && fzk.h()) {
fzk.c(true);
return true;
}
return false;
default:
return false;
}
}
@Override
public void onClick(View view) {
a().startActivity(this.r);
gbk.a(a(), this.d, this.g);
}
}