百度手机卫士 v8.4.5版本的 MD5 值为:c65ef854a40bb6200c4d8c4603c58403
以下内容为反编译后的 SafeSearchActivity.java 源代码,内容仅作参考
package com.dianxinos.optimizer.module.safesearch;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.graphics.drawable.ColorDrawable;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.text.SpannableString;
import android.text.TextUtils;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.AutoCompleteTextView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListAdapter;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import cn.opda.a.phonoalbumshoushou.R;
import com.baidu.hao123.sdk.Hao123KPI;
import com.baidu.security.plugin.alarm.AlarmUtil;
import com.dianxinos.optimizer.ui.DxRevealButton;
import com.dianxinos.optimizer.utils.HttpUtils;
import dxoptimizer.aky;
import dxoptimizer.akz;
import dxoptimizer.ala;
import dxoptimizer.awv;
import dxoptimizer.aww;
import dxoptimizer.awz;
import dxoptimizer.axb;
import dxoptimizer.axc;
import dxoptimizer.ayi;
import dxoptimizer.ayj;
import dxoptimizer.ayl;
import dxoptimizer.ayv;
import dxoptimizer.bbb;
import dxoptimizer.bbv;
import dxoptimizer.fxk;
import dxoptimizer.fxl;
import dxoptimizer.fxm;
import dxoptimizer.fxn;
import dxoptimizer.fxo;
import dxoptimizer.fxq;
import dxoptimizer.fxs;
import dxoptimizer.fxu;
import dxoptimizer.fxv;
import dxoptimizer.fxw;
import dxoptimizer.fxx;
import dxoptimizer.fxy;
import dxoptimizer.fxz;
import dxoptimizer.fya;
import dxoptimizer.fyb;
import dxoptimizer.fyc;
import dxoptimizer.fyd;
import dxoptimizer.fye;
import dxoptimizer.fyf;
import dxoptimizer.fyg;
import dxoptimizer.fyk;
import dxoptimizer.fym;
import dxoptimizer.fyn;
import dxoptimizer.fyp;
import dxoptimizer.fyq;
import dxoptimizer.fyr;
import dxoptimizer.fyw;
import dxoptimizer.hgp;
import dxoptimizer.hhc;
import dxoptimizer.hkn;
import dxoptimizer.hll;
import dxoptimizer.hny;
import dxoptimizer.hpf;
import dxoptimizer.hpg;
import dxoptimizer.hps;
import dxoptimizer.hpw;
import dxoptimizer.hqf;
import dxoptimizer.hqo;
import dxoptimizer.hqp;
import dxoptimizer.hqr;
import dxoptimizer.hrf;
import dxoptimizer.hrs;
import dxoptimizer.hsf;
import dxoptimizer.hsg;
import dxoptimizer.htl;
import dxoptimizer.htm;
import dxoptimizer.hts;
import dxoptimizer.htt;
import dxoptimizer.hzm;
import dxoptimizer.iaf;
import dxoptimizer.mo;
import dxoptimizer.tu;
import java.io.File;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Random;
import java.util.Set;
import org.json.JSONObject;
public class SafeSearchActivity extends ayv implements View.OnClickListener, axc, ayj {
private int A;
private ala B;
private String H;
private String I;
private boolean J;
private LinearLayout M;
private LinearLayout N;
private LinearLayout O;
private LinearLayout P;
private AutoCompleteTextView a;
private TextView b;
private RelativeLayout c;
private RelativeLayout d;
private DxRevealButton e;
private ImageView f;
private hll g;
private hll h;
private View j;
private ListView k;
private String l;
private fym t;
private View u;
private TextView v;
private ImageView w;
private View x;
private Handler y;
private List m = new ArrayList();
private List n = new ArrayList();
private List o = new ArrayList();
private Set p = new HashSet();
private fyp q = null;
private fyp r = null;
private fyg s = null;
private boolean z = false;
private fyk C = null;
private boolean D = false;
private mo E = null;
private boolean F = false;
private String G = "com.baidu.searchbox";
private final String K = "rd_browsers.txt";
private final String L = "or_browsers.txt";
private boolean Q = false;
private boolean R = false;
private boolean S = false;
private boolean T = false;
private BroadcastReceiver U = new fxk(this);
@Override
public void onCreate(Bundle bundle) {
int f;
super.onCreate(bundle);
setContentView(R.layout.jadx_deobf_0x000009b6);
this.y = new ayi(this);
k();
f();
c();
l();
fyq.b((Context) this, false);
d();
Intent intent = getIntent();
if (intent != null) {
this.T = htm.a(intent, "from_sc", false);
if (3 == htm.a(intent, "extra.from", -1)) {
hpw.a(this, 1, System.currentTimeMillis());
hps.a(this, 1);
}
boolean a = htm.a(intent, "from_h", false);
boolean z = hhc.i(this) || !hrf.g(this, "com.baidu.searchbox");
if (a && z && (f = fyq.f(this)) < 2) {
D();
fyq.a((Context) this, f + 1);
}
}
}
private void c() {
hkn.a().b(new fxy(this));
}
private void d() {
this.B = bbb.a(this);
fyq.a(this, System.currentTimeMillis());
long currentTimeMillis = System.currentTimeMillis();
if (currentTimeMillis - hqp.b(this) > AlarmUtil.DAY) {
hpw.c(this, "");
hqp.b(this, Long.valueOf(currentTimeMillis));
}
B();
C();
int a = htm.a(getIntent(), "extra.from", -1);
htm.a(getIntent(), "statusbar_report", 0);
if (a == 3) {
hts.a(this);
hts.a(this);
hts.a(2);
}
}
public void e() {
hkn.a().b(new fxz(this));
}
private void f() {
this.J = hpf.a(this, "Mi", false);
this.x = findViewById(R.id.jadx_deobf_0x00000f95);
tu.a(this.x, new ColorDrawable(getResources().getColor(R.color.jadx_deobf_0x00000e26)));
this.v = (TextView) findViewById(R.id.jadx_deobf_0x00000065);
this.w = (ImageView) findViewById(R.id.jadx_deobf_0x000000ab);
this.w.setImageResource(R.drawable.jadx_deobf_0x00000386);
this.w.setOnClickListener(this);
this.w.setFocusable(true);
this.v.setText(R.string.jadx_deobf_0x0000276f);
this.j = b();
this.f = (ImageView) this.j.findViewById(R.id.jadx_deobf_0x000018f2);
this.f.setOnClickListener(this);
this.a = (AutoCompleteTextView) this.j.findViewById(R.id.jadx_deobf_0x000018f1);
this.E = new mo(this, R.drawable.jadx_deobf_0x00000671);
this.a.setOnClickListener(this);
this.a.setCursorVisible(false);
this.a.addTextChangedListener(new fya(this));
this.a.setOnEditorActionListener(new fyb(this));
this.k = (ListView) findViewById(R.id.jadx_deobf_0x0000191d);
this.b = (TextView) this.j.findViewById(R.id.jadx_deobf_0x000018f3);
this.b.setOnClickListener(this);
this.e = (DxRevealButton) findViewById(R.id.jadx_deobf_0x0000191c);
this.e.setOnClickListener(this);
this.u = LayoutInflater.from(this).inflate(R.layout.jadx_deobf_0x000009b5, (ViewGroup) null, true);
this.u.setOnClickListener(this);
this.k.addHeaderView(this.j);
this.k.addFooterView(this.u);
this.d = (RelativeLayout) findViewById(R.id.jadx_deobf_0x00001921);
this.c = (RelativeLayout) findViewById(R.id.jadx_deobf_0x0000191e);
this.t = new fym(this, null);
this.k.setAdapter((ListAdapter) this.t);
aww.a((Context) this).a((axc) this);
htl.b(this, this.U, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
}
@Override
protected void onResume() {
super.onResume();
Hao123KPI.onResume(this);
h();
g();
}
private void g() {
String m = hpw.m(this);
if (!TextUtils.isEmpty(m)) {
this.C = new fyk();
this.C.a = m;
}
}
private void h() {
List b = bbb.a(this).b("ssbbx");
this.A = 0;
if (b != null && b.size() > 0 && this.q != null) {
int size = b.size();
int i = 0;
while (true) {
if (i >= size) {
break;
}
if (!((akz) b.get(i)).b.equals(this.q.b)) {
i++;
} else {
this.A = ((akz) b.get(i)).n;
break;
}
}
}
if (hrf.g(this, this.G)) {
this.A = 7;
}
this.y.obtainMessage(5).sendToTarget();
}
@Override
public void onBackPressed() {
if (this.g != null && this.g.isShowing()) {
this.g.dismiss();
} else if (this.T && this.r != null && !hrf.g(this, this.r.b)) {
i();
} else {
finish();
}
}
private void i() {
if (System.currentTimeMillis() - fyq.c(this) > 259200000) {
j();
} else {
finish();
}
}
private void j() {
akz c = this.B.c("ssbbx", this.r.b);
if (c != null && c.n == 2) {
finish();
return;
}
this.h = new hll(this);
View inflate = ((LayoutInflater) getSystemService("layout_inflater")).inflate(R.layout.jadx_deobf_0x000009b0, (ViewGroup) null);
ImageView imageView = (ImageView) inflate.findViewById(R.id.jadx_deobf_0x000018fc);
TextView textView = (TextView) inflate.findViewById(R.id.jadx_deobf_0x000018fd);
this.E = new mo(this);
this.E.a(this.r.d, imageView);
textView.setText(this.r.h);
this.h.setContentView(inflate);
this.h.a(R.string.jadx_deobf_0x0000275c, new fyc(this));
this.h.c(R.string.jadx_deobf_0x0000275b, new fyd(this));
this.h.setOnKeyListener(new fye(this));
fyq.b(this, Long.valueOf(System.currentTimeMillis()));
a(1, 5, this.r.b);
this.h.show();
}
private void k() {
if (System.currentTimeMillis() - fyq.b(hny.a()) > 14400000) {
e();
} else {
this.y.obtainMessage(0, fyw.b(this)).sendToTarget();
}
}
public void l() {
this.c.setVisibility(8);
this.d.setVisibility(0);
fyr.a(this, new fyf(this));
}
@Override
public void handleMessage(Message message) {
switch (message.what) {
case 0:
ArrayList arrayList = (ArrayList) message.obj;
this.m.clear();
this.m.addAll(arrayList);
int size = this.m.size();
if (size == 0) {
this.m.clear();
m();
} else {
if (size > 5) {
this.y.sendEmptyMessage(1);
} else {
this.y.obtainMessage(2, 0).sendToTarget();
}
for (int i = 0; i < this.m.size(); i++) {
this.n.add(this.m.get(i));
if (i != 9) {
}
}
}
this.S = true;
return;
case 1:
if (!this.z) {
this.p.clear();
int nextInt = new Random().nextInt(5);
this.p.add(Integer.valueOf(nextInt));
d(((fyn) this.m.get(nextInt)).a);
this.y.sendEmptyMessageDelayed(2, 5000L);
return;
}
return;
case 2:
if (!this.z) {
if (this.p.size() < 5) {
int nextInt2 = new Random().nextInt(this.m.size());
d(((fyn) this.m.get(nextInt2)).a);
this.p.add(Integer.valueOf(nextInt2));
this.y.sendEmptyMessageDelayed(2, 5000L);
return;
}
Message obtain = Message.obtain();
obtain.what = 3;
obtain.obj = 5;
this.y.sendMessageDelayed(obtain, 5000L);
return;
}
return;
case 3:
if (!this.z) {
int intValue = ((Integer) message.obj).intValue();
if (intValue <= this.m.size() - 1) {
d(((fyn) this.m.get(intValue)).a);
Message message2 = new Message();
message2.what = 3;
message2.obj = Integer.valueOf(intValue + 1);
this.y.sendMessageDelayed(message2, 5000L);
return;
}
if (this.m.size() > 5) {
this.y.sendEmptyMessage(1);
return;
} else {
this.y.obtainMessage(3, 0).sendToTarget();
return;
}
}
return;
case 4:
case 8:
case 9:
default:
return;
case 5:
if (this.s != null) {
this.s.notifyDataSetChanged();
return;
}
return;
case 6:
this.I = (String) message.obj;
return;
case 7:
this.H = (String) message.obj;
return;
case 10:
this.t.a((List) message.obj);
this.t.notifyDataSetChanged();
this.u.setVisibility(0);
this.R = true;
return;
}
}
private void m() {
if (hqo.c(this)) {
if (!this.D || this.F) {
this.D = true;
this.F = false;
e();
} else {
String string = getResources().getString(R.string.jadx_deobf_0x0000276e);
new SpannableString(string).setSpan(new fxl(this), 11, string.length(), 33);
}
}
}
public void n() {
boolean z = false;
if (TextUtils.isEmpty(this.l)) {
htt.b(this, R.string.jadx_deobf_0x00002764, 0);
return;
}
fyk fykVar = new fyk();
if (this.q == null) {
if (o()) {
fykVar.a = "com.baidu.searchbox";
a(fykVar);
return;
} else {
q();
return;
}
}
awv b = aww.a((Context) this).b(this.G);
if (b != null && !b.j()) {
z = true;
}
if (!z && b(this.G)) {
if (o()) {
fykVar.a = "com.baidu.searchbox";
} else {
fykVar.a = this.G;
}
a(fykVar);
return;
}
q();
}
private boolean o() {
return hrf.g(this, "com.baidu.searchbox") && hrf.h(this, "com.baidu.searchbox");
}
private void p() {
if (TextUtils.isEmpty(this.l)) {
htt.b(this, R.string.jadx_deobf_0x00002763, 0);
} else {
this.l = "http://m.baidu.com/s?from=1009596a&word=" + this.l;
n();
}
}
private boolean b(String str) {
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(Uri.parse("http://*"));
PackageManager a = hsg.a(this);
if (a == null) {
return false;
}
Iterator<ResolveInfo> it = a.queryIntentActivities(intent, 65536).iterator();
while (it.hasNext()) {
if (it.next().activityInfo.packageName.equals(str)) {
return true;
}
}
return false;
}
private void q() {
A();
if (this.o.size() == 0) {
htt.b(this, R.string.jadx_deobf_0x00002761, 0);
return;
}
if (this.o.size() == 1) {
Object obj = this.o.get(0);
if ((obj instanceof fyk) && hrf.g(this, ((fyk) obj).a) && hrf.h(this, ((fyk) obj).a)) {
a((fyk) obj);
return;
}
}
if (this.C != null && c(this.C.a)) {
a(this.C);
return;
}
this.g = new hll(this);
this.g.setTitle(R.string.jadx_deobf_0x0000276a);
this.s = new fyg(this);
this.g.a((ListAdapter) this.s);
this.g.setCanceledOnTouchOutside(true);
this.g.show();
this.g.setOnCancelListener(new fxm(this));
if (this.q == null) {
hts.a(this);
hts.a("ssb_dsb", "", (Number) 1);
} else {
hts.a(this);
hts.a("ssb_dsb", this.q.b, (Number) 1);
}
}
public boolean c(String str) {
for (Object obj : this.o) {
if ((obj instanceof fyk) && ((fyk) obj).a.equals(str)) {
return true;
}
}
return false;
}
private void d(String str) {
iaf a = iaf.a(this.a, "y", 0.0f, -100.0f);
a.b(200L);
a.a((hzm) new fxn(this, str));
a.a();
}
@Override
public void onClick(View view) {
String str = null;
if (view == this.a) {
this.a.setCursorVisible(true);
this.a.setHint("");
this.a.setTextColor(getResources().getColor(R.color.jadx_deobf_0x00000e31));
this.z = true;
this.f.setVisibility(0);
} else if (view == this.b) {
r();
this.l = this.a.getText().toString().trim();
p();
if (!TextUtils.isEmpty(this.l)) {
s();
}
} else if (view == this.e) {
hrs.a(this, (String) getResources().getText(R.string.jadx_deobf_0x0000276d), R.drawable.safesearch_baidulogo, SafeSearchTransientActivity.class.getName());
htt.b(this, getString(R.string.jadx_deobf_0x0000276c), 0);
str = "ssb_sdc";
} else if (view == this.f) {
this.a.setText("");
} else if (view == this.u) {
t();
} else if (view == this.w) {
onBackPressed();
}
if (str != null) {
hts.a(this);
hts.a("ssb", str, (Number) 1);
}
}
public void r() {
int l = hpw.l(this);
if (l == 0 && !this.J) {
hrs.a(this, (String) getResources().getText(R.string.jadx_deobf_0x0000276d), R.drawable.safesearch_baidulogo, SafeSearchTransientActivity.class.getName());
hts.a(this);
hts.a("ssb", "ssb_acs", (Number) 1);
hpw.d((Context) this, l + 1);
}
}
private void s() {
JSONObject jSONObject = new JSONObject();
try {
jSONObject.put("ishotword", this.m.contains(this.l) ? "1" : "0");
} catch (Exception e) {
}
hts.a(this);
hts.a("ssb_sbc", jSONObject);
}
private void t() {
if (hrf.g(this, "com.baidu.searchbox")) {
if (!hrf.h(this, "com.baidu.searchbox")) {
htt.b(this, getResources().getString(R.string.jadx_deobf_0x000020c1), 0);
return;
}
Uri parse = Uri.parse("http://m.baidu.com/s?from=1009596a&word=");
Intent intent = new Intent("android.intent.action.VIEW");
intent.addFlags(268435456);
intent.setPackage("com.baidu.searchbox");
intent.setData(parse);
if (hqf.a(this, intent)) {
a(2, 4, "com.baidu.searchbox");
startActivity(intent);
return;
} else {
htt.b(this, getResources().getString(R.string.jadx_deobf_0x000020c0), 0);
return;
}
}
a(y(), 2);
}
public void v() {
String a = hgp.a(this, "com.baidu.searchbox");
if (!TextUtils.isEmpty(a)) {
hqr.a((Activity) this, a);
hts.a(this);
hts.a("ssb", "ss_bd_is", (Number) 1);
return;
}
akz c = this.B.c("ssbbx", "com.baidu.searchbox");
if (c != null && c.n == 6 && new File(c.a()).exists()) {
hqr.a((Activity) this, c.a());
return;
}
akz akzVar = new akz(y());
bbv.a((Context) this, akzVar.f, true, (ayl) new fxo(this, akzVar));
}
public void a(aky akyVar, int i) {
String e = e(akyVar.b);
if (!TextUtils.isEmpty(e)) {
hqr.a((Activity) this, e);
a(i, 1, akyVar.b);
} else {
b(akyVar, i);
}
}
private void b(aky akyVar, int i) {
bbv.a((Context) this, akyVar.f, true, (ayl) new fxq(this, akyVar, i));
}
private String e(String str) {
String a = hgp.a(this, str);
if (TextUtils.isEmpty(a)) {
akz c = this.B.c("ssbbx", str);
if (c != null && c.n == 6) {
String a2 = c.a();
if (new File(a2).exists()) {
return a2;
}
}
return null;
}
return a;
}
public boolean w() {
if (x()) {
return true;
}
this.A = 2;
bbv.a((Context) this, this.q.g, true, (ayl) new fxs(this));
return false;
}
private boolean x() {
if (this.q != null) {
String a = hgp.a(this, this.q.b);
if (!TextUtils.isEmpty(a)) {
hqr.a((Activity) this, a);
return true;
}
}
return false;
}
public aky a(String str, fyp fypVar) {
aky akyVar = new aky();
akyVar.a = str;
akyVar.b = fypVar.b;
akyVar.c = fypVar.a;
akyVar.d = fypVar.e;
akyVar.e = fypVar.f;
akyVar.f = fypVar.g;
akyVar.g = fypVar.c;
akyVar.h = fypVar.d;
akyVar.j = hpg.l;
return akyVar;
}
private aky y() {
aky akyVar = new aky();
akyVar.a = "ssbbx";
akyVar.b = "com.baidu.searchbox";
akyVar.c = getResources().getString(R.string.jadx_deobf_0x0000066c);
akyVar.d = "6.7";
akyVar.e = 16787720;
akyVar.f = 22214881L;
akyVar.g = "https://sjwssu.baidu.com/own/baidusearch/anquansousuo";
akyVar.h = "https://sjwsdl.baidu.com/apks/icon/bdsearch_7272.jpg";
akyVar.j = hpg.l;
return akyVar;
}
public void z() {
String a = a("ssbbx", this.q).a();
if (this.A == 6 && new File(a).exists()) {
hqr.a((Activity) this, a);
return;
}
htt.a(this, getString(R.string.jadx_deobf_0x000020b0), 0);
w();
this.y.obtainMessage(5).sendToTarget();
if (this.q == null) {
hts.a(this);
hts.a("ssb_ddc", "", (Number) 1);
} else {
hts.a(this);
hts.a("ssb_ddc", this.q.b, (Number) 1);
}
}
public void a(fyk fykVar) {
try {
Intent intent = new Intent("android.intent.action.VIEW", Uri.parse("https://sjws-rts.baidu.com/rts/rd?" + HttpUtils.a("url", this.l)));
intent.putExtra("com.android.browser.application_id", getPackageName());
intent.setPackage(fykVar.a);
intent.addFlags(268435456);
startActivity(intent);
} catch (ActivityNotFoundException e) {
}
hts.a(this);
hts.a("ssb_dobc", fykVar.a, (Number) 1);
}
@Override
public void a(axb axbVar) {
if (axbVar != null && axbVar.c == 3 && (axbVar instanceof awz)) {
awz awzVar = (awz) axbVar;
Object obj = null;
for (Object obj2 : this.o) {
if (!(obj2 instanceof fyk) || !((fyk) obj2).a.equals(awzVar.a)) {
obj2 = obj;
}
obj = obj2;
}
if (obj != null) {
this.o.remove(obj);
this.y.obtainMessage(5).sendToTarget();
}
if (!TextUtils.isEmpty(this.G) && this.G.equals(awzVar.a)) {
this.A = 0;
this.y.obtainMessage(5).sendToTarget();
return;
}
return;
}
if (axbVar != null && axbVar.c == 2 && (axbVar instanceof awz)) {
awz awzVar2 = (awz) axbVar;
if (!TextUtils.isEmpty(this.G) && this.G.equals(awzVar2.a)) {
this.A = 7;
this.y.obtainMessage(5).sendToTarget();
}
}
}
private void A() {
Intent intent = new Intent("android.intent.action.VIEW");
intent.setData(Uri.parse("http://*"));
PackageManager a = hsg.a(this);
if (a != null) {
List<ResolveInfo> queryIntentActivities = a.queryIntentActivities(intent, 65536);
if (this.I != null && this.H != null) {
for (ResolveInfo resolveInfo : queryIntentActivities) {
fyk fykVar = new fyk();
fykVar.c = resolveInfo.loadIcon(a);
fykVar.d = hsf.d(resolveInfo.loadLabel(a).toString());
fykVar.a = resolveInfo.activityInfo.packageName;
fykVar.b = resolveInfo.activityInfo.name;
if (this.H.contains(fykVar.a) || this.I.contains(fykVar.a)) {
if (!c(fykVar.a)) {
this.o.add(fykVar);
}
}
}
}
}
}
public void B() {
hkn.a().b(new fxu(this));
}
private void C() {
hkn.a().b(new fxv(this));
}
public View b() {
return View.inflate(this, R.layout.jadx_deobf_0x000009ae, null);
}
private void D() {
akz c = this.B.c("ssbbx", "com.baidu.searchbox");
if (c == null || c.n != 2) {
this.g = new hll(this);
this.g.c();
this.g.b(getResources().getString(R.string.jadx_deobf_0x0000275d));
this.g.a(R.string.jadx_deobf_0x000020ac, new fxw(this));
this.g.c(R.string.jadx_deobf_0x0000208c, new fxx(this));
this.g.show();
}
}
public void a(String str) {
if ("news".equals(str)) {
hts.a(this);
hts.a("ssb", "ssb_nec", (Number) 1);
return;
}
if ("vedio".equals(str)) {
hts.a(this);
hts.a("ssb", "ssb_vic", (Number) 1);
} else if ("novel".equals(str)) {
hts.a(this);
hts.a("ssb", "ssb_noc", (Number) 1);
} else if ("relax".equals(str)) {
hts.a(this);
hts.a("ssb", "ssb_rec", (Number) 1);
}
}
public void a(int i, int i2, String str) {
switch (i2) {
case 1:
if (i == 2) {
hts.a(this);
hts.a("ssb", "ssbb_is", (Number) 1);
return;
} else {
if (i == 1) {
hts.a(this);
hts.a("ssr_is", str, (Number) 1);
return;
}
return;
}
case 2:
if (i == 2) {
hts.a(this);
hts.a("ssb", "ssbb_ds", (Number) 1);
return;
} else {
if (i == 1) {
hts.a(this);
hts.a("ssr_ds", str, (Number) 1);
return;
}
return;
}
case 3:
if (i == 2) {
hts.a(this);
hts.a("ssb", "ssbb_dc", (Number) 1);
return;
} else {
if (i == 1) {
hts.a(this);
hts.a("ssr_dc", str, (Number) 1);
return;
}
return;
}
case 4:
hts.a(this);
hts.a("ssb", "ssbb_op", (Number) 1);
return;
case 5:
hts.a(this);
hts.a("ssr_dsh", str, (Number) 1);
return;
default:
return;
}
}
@Override
protected void onPause() {
super.onPause();
Hao123KPI.onPause(this);
}
@Override
public void onDestroy() {
Hao123KPI.commitLog(this);
aww.a((Context) this).b(this);
if (this.E != null) {
this.E.a();
this.E = null;
}
this.h = null;
unregisterReceiver(this.U);
super.onDestroy();
}
}