百度手机卫士 v8.8.0版本的 MD5 值为:a85894a6923c8a39f0c3a3a686ad7443
以下内容为反编译后的 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.ajo;
import dxoptimizer.ajp;
import dxoptimizer.ajq;
import dxoptimizer.avn;
import dxoptimizer.avo;
import dxoptimizer.avr;
import dxoptimizer.avt;
import dxoptimizer.avu;
import dxoptimizer.aww;
import dxoptimizer.awx;
import dxoptimizer.awz;
import dxoptimizer.axj;
import dxoptimizer.azp;
import dxoptimizer.bal;
import dxoptimizer.ged;
import dxoptimizer.gee;
import dxoptimizer.gef;
import dxoptimizer.geg;
import dxoptimizer.geh;
import dxoptimizer.gej;
import dxoptimizer.gel;
import dxoptimizer.gen;
import dxoptimizer.geo;
import dxoptimizer.gep;
import dxoptimizer.geq;
import dxoptimizer.ger;
import dxoptimizer.ges;
import dxoptimizer.get;
import dxoptimizer.geu;
import dxoptimizer.gev;
import dxoptimizer.gew;
import dxoptimizer.gex;
import dxoptimizer.gey;
import dxoptimizer.gez;
import dxoptimizer.gfd;
import dxoptimizer.gff;
import dxoptimizer.gfg;
import dxoptimizer.gfi;
import dxoptimizer.gfj;
import dxoptimizer.gfk;
import dxoptimizer.gfp;
import dxoptimizer.hnw;
import dxoptimizer.hoj;
import dxoptimizer.hti;
import dxoptimizer.hug;
import dxoptimizer.hxa;
import dxoptimizer.hyh;
import dxoptimizer.hyi;
import dxoptimizer.hyu;
import dxoptimizer.hyy;
import dxoptimizer.hzh;
import dxoptimizer.hzq;
import dxoptimizer.hzt;
import dxoptimizer.hzv;
import dxoptimizer.iaj;
import dxoptimizer.iaw;
import dxoptimizer.ibj;
import dxoptimizer.ibk;
import dxoptimizer.icn;
import dxoptimizer.ico;
import dxoptimizer.icu;
import dxoptimizer.icv;
import dxoptimizer.ioj;
import dxoptimizer.ipc;
import dxoptimizer.mp;
import dxoptimizer.tv;
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 axj implements View.OnClickListener, avu, awx {
private int A;
private ajq 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 hug g;
private hug h;
private View j;
private ListView k;
private String l;
private gff t;
private View u;
private TextView v;
private ImageView w;
private View x;
private Handler y;
private List<gfg> m = new ArrayList();
private List<gfg> n = new ArrayList();
private List<Object> o = new ArrayList();
private Set<Integer> p = new HashSet();
private gfi q = null;
private gfi r = null;
private gez s = null;
private boolean z = false;
private gfd C = null;
private boolean D = false;
private mp 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 ged(this);
@Override
public void onCreate(Bundle bundle) {
int f;
super.onCreate(bundle);
setContentView(R.layout.jadx_deobf_0x00000a59);
this.y = new aww(this);
k();
f();
c();
l();
gfj.b((Context) this, false);
d();
Intent intent = getIntent();
if (intent != null) {
this.T = ico.a(intent, "from_sc", false);
if (3 == ico.a(intent, "extra.from", -1)) {
hyy.a(this, 1, System.currentTimeMillis());
hyu.a(this, 1);
}
boolean a = ico.a(intent, "from_h", false);
boolean z = hoj.i(this) || !iaj.g(this, "com.baidu.searchbox");
if (a && z && (f = gfj.f(this)) < 2) {
D();
gfj.a((Context) this, f + 1);
}
}
}
private void c() {
hti.a().b(new ger(this));
}
private void d() {
this.B = azp.a(this);
gfj.a(this, System.currentTimeMillis());
long currentTimeMillis = System.currentTimeMillis();
if (currentTimeMillis - hzt.b(this) > AlarmUtil.DAY) {
hyy.c(this, "");
hzt.b(this, Long.valueOf(currentTimeMillis));
}
B();
C();
int a = ico.a(getIntent(), "extra.from", -1);
ico.a(getIntent(), "statusbar_report", 0);
if (a == 3) {
icu.a(this);
icu.a(this);
icu.a(2);
}
}
public void e() {
hti.a().b(new ges(this));
}
private void f() {
this.J = hyh.a(this, "Mi", false);
this.x = findViewById(R.id.jadx_deobf_0x00001078);
tv.a(this.x, new ColorDrawable(getResources().getColor(R.color.jadx_deobf_0x00000eee)));
this.v = (TextView) findViewById(R.id.jadx_deobf_0x00000065);
this.w = (ImageView) findViewById(R.id.jadx_deobf_0x000000b3);
this.w.setImageResource(R.drawable.jadx_deobf_0x000003b5);
this.w.setOnClickListener(this);
this.w.setFocusable(true);
this.v.setText(R.string.jadx_deobf_0x0000294a);
this.j = b();
this.f = (ImageView) this.j.findViewById(R.id.jadx_deobf_0x00001a16);
this.f.setOnClickListener(this);
this.a = (AutoCompleteTextView) this.j.findViewById(R.id.jadx_deobf_0x00001a15);
this.E = new mp(this, R.drawable.jadx_deobf_0x000006e2);
this.a.setOnClickListener(this);
this.a.setCursorVisible(false);
this.a.addTextChangedListener(new get(this));
this.a.setOnEditorActionListener(new geu(this));
this.k = (ListView) findViewById(R.id.jadx_deobf_0x00001a41);
this.b = (TextView) this.j.findViewById(R.id.jadx_deobf_0x00001a17);
this.b.setOnClickListener(this);
this.e = (DxRevealButton) findViewById(R.id.jadx_deobf_0x00001a40);
this.e.setOnClickListener(this);
this.u = LayoutInflater.from(this).inflate(R.layout.jadx_deobf_0x00000a58, (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_0x00001a45);
this.c = (RelativeLayout) findViewById(R.id.jadx_deobf_0x00001a42);
this.t = new gff(this, null);
this.k.setAdapter((ListAdapter) this.t);
avo.a((Context) this).a((avu) this);
icn.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 = hyy.m(this);
if (!TextUtils.isEmpty(m)) {
this.C = new gfd();
this.C.a = m;
}
}
private void h() {
List<ajp> b = azp.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 (!b.get(i).b.equals(this.q.b)) {
i++;
} else {
this.A = b.get(i).n;
break;
}
}
}
if (iaj.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 && !iaj.g(this, this.r.b)) {
i();
} else {
finish();
}
}
private void i() {
if (System.currentTimeMillis() - gfj.c(this) > 259200000) {
j();
} else {
finish();
}
}
private void j() {
ajp c = this.B.c("ssbbx", this.r.b);
if (c != null && c.n == 2) {
finish();
return;
}
this.h = new hug(this);
View inflate = ((LayoutInflater) getSystemService("layout_inflater")).inflate(R.layout.jadx_deobf_0x00000a53, (ViewGroup) null);
ImageView imageView = (ImageView) inflate.findViewById(R.id.jadx_deobf_0x00001a20);
TextView textView = (TextView) inflate.findViewById(R.id.jadx_deobf_0x00001a21);
this.E = new mp(this);
this.E.a(this.r.d, imageView);
textView.setText(this.r.h);
this.h.setContentView(inflate);
this.h.a(R.string.jadx_deobf_0x00002937, new gev(this));
this.h.c(R.string.jadx_deobf_0x00002936, new gew(this));
this.h.setOnKeyListener(new gex(this));
gfj.b(this, Long.valueOf(System.currentTimeMillis()));
a(1, 5, this.r.b);
this.h.show();
}
private void k() {
if (System.currentTimeMillis() - gfj.b(hxa.a()) > 14400000) {
e();
} else {
this.y.obtainMessage(0, gfp.b(this)).sendToTarget();
}
}
public void l() {
this.c.setVisibility(8);
this.d.setVisibility(0);
gfk.a(this, new gey(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(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(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(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 (hzq.c(this)) {
if (!this.D || this.F) {
this.D = true;
this.F = false;
e();
} else {
String string = getResources().getString(R.string.jadx_deobf_0x00002949);
new SpannableString(string).setSpan(new gee(this), 11, string.length(), 33);
}
}
}
public void n() {
boolean z = false;
if (TextUtils.isEmpty(this.l)) {
icv.b(this, R.string.jadx_deobf_0x0000293f, 0);
return;
}
gfd gfdVar = new gfd();
if (this.q == null) {
if (o()) {
gfdVar.a = "com.baidu.searchbox";
a(gfdVar);
return;
} else {
q();
return;
}
}
avn b = avo.a((Context) this).b(this.G);
if (b != null && !b.j()) {
z = true;
}
if (!z && b(this.G)) {
if (o()) {
gfdVar.a = "com.baidu.searchbox";
} else {
gfdVar.a = this.G;
}
a(gfdVar);
return;
}
q();
}
private boolean o() {
return iaj.g(this, "com.baidu.searchbox") && iaj.h(this, "com.baidu.searchbox");
}
private void p() {
if (TextUtils.isEmpty(this.l)) {
icv.b(this, R.string.jadx_deobf_0x0000293e, 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 = ibk.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) {
icv.b(this, R.string.jadx_deobf_0x0000293c, 0);
return;
}
if (this.o.size() == 1) {
Object obj = this.o.get(0);
if ((obj instanceof gfd) && iaj.g(this, ((gfd) obj).a) && iaj.h(this, ((gfd) obj).a)) {
a((gfd) obj);
return;
}
}
if (this.C != null && c(this.C.a)) {
a(this.C);
return;
}
this.g = new hug(this);
this.g.setTitle(R.string.jadx_deobf_0x00002945);
this.s = new gez(this);
this.g.a((ListAdapter) this.s);
this.g.setCanceledOnTouchOutside(true);
this.g.show();
this.g.setOnCancelListener(new gef(this));
if (this.q == null) {
icu.a(this);
icu.a("ssb_dsb", "", (Number) 1);
} else {
icu.a(this);
icu.a("ssb_dsb", this.q.b, (Number) 1);
}
}
public boolean c(String str) {
for (Object obj : this.o) {
if ((obj instanceof gfd) && ((gfd) obj).a.equals(str)) {
return true;
}
}
return false;
}
private void d(String str) {
ipc a = ipc.a(this.a, "y", 0.0f, -100.0f);
a.b(200L);
a.a((ioj) new geg(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_0x00000ef9));
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) {
iaw.a(this, (String) getResources().getText(R.string.jadx_deobf_0x00002948), R.drawable.safesearch_baidulogo, SafeSearchTransientActivity.class.getName());
icv.b(this, getString(R.string.jadx_deobf_0x00002947), 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) {
icu.a(this);
icu.a("ssb", str, (Number) 1);
}
}
public void r() {
int l = hyy.l(this);
if (l == 0 && !this.J) {
iaw.a(this, (String) getResources().getText(R.string.jadx_deobf_0x00002948), R.drawable.safesearch_baidulogo, SafeSearchTransientActivity.class.getName());
icu.a(this);
icu.a("ssb", "ssb_acs", (Number) 1);
hyy.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) {
}
icu.a(this);
icu.a("ssb_sbc", jSONObject);
}
private void t() {
if (iaj.g(this, "com.baidu.searchbox")) {
if (!iaj.h(this, "com.baidu.searchbox")) {
icv.b(this, getResources().getString(R.string.jadx_deobf_0x000021f5), 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 (hzh.a(this, intent)) {
a(2, 4, "com.baidu.searchbox");
startActivity(intent);
return;
} else {
icv.b(this, getResources().getString(R.string.jadx_deobf_0x000021f4), 0);
return;
}
}
a(y(), 2);
}
public void v() {
String a = hnw.a(this, "com.baidu.searchbox");
if (!TextUtils.isEmpty(a)) {
hzv.a((Activity) this, a);
icu.a(this);
icu.a("ssb", "ss_bd_is", (Number) 1);
return;
}
ajp c = this.B.c("ssbbx", "com.baidu.searchbox");
if (c != null && c.n == 6 && new File(c.a()).exists()) {
hzv.a((Activity) this, c.a());
return;
}
ajp ajpVar = new ajp(y());
bal.a((Context) this, ajpVar.f, true, (awz) new geh(this, ajpVar));
}
public void a(ajo ajoVar, int i) {
String e = e(ajoVar.b);
if (!TextUtils.isEmpty(e)) {
hzv.a((Activity) this, e);
a(i, 1, ajoVar.b);
} else {
b(ajoVar, i);
}
}
private void b(ajo ajoVar, int i) {
bal.a((Context) this, ajoVar.f, true, (awz) new gej(this, ajoVar, i));
}
private String e(String str) {
String a = hnw.a(this, str);
if (TextUtils.isEmpty(a)) {
ajp 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;
bal.a((Context) this, this.q.g, true, (awz) new gel(this));
return false;
}
private boolean x() {
if (this.q != null) {
String a = hnw.a(this, this.q.b);
if (!TextUtils.isEmpty(a)) {
hzv.a((Activity) this, a);
return true;
}
}
return false;
}
public ajo a(String str, gfi gfiVar) {
ajo ajoVar = new ajo();
ajoVar.a = str;
ajoVar.b = gfiVar.b;
ajoVar.c = gfiVar.a;
ajoVar.d = gfiVar.e;
ajoVar.e = gfiVar.f;
ajoVar.f = gfiVar.g;
ajoVar.g = gfiVar.c;
ajoVar.h = gfiVar.d;
ajoVar.j = hyi.l;
return ajoVar;
}
private ajo y() {
ajo ajoVar = new ajo();
ajoVar.a = "ssbbx";
ajoVar.b = "com.baidu.searchbox";
ajoVar.c = getResources().getString(R.string.jadx_deobf_0x000006dd);
ajoVar.d = "6.7";
ajoVar.e = 16787720;
ajoVar.f = 22214881L;
ajoVar.g = "https://sjwssu.baidu.com/own/baidusearch/anquansousuo";
ajoVar.h = "https://sjwsdl.baidu.com/apks/icon/bdsearch_7272.jpg";
ajoVar.j = hyi.l;
return ajoVar;
}
public void z() {
String a = a("ssbbx", this.q).a();
if (this.A == 6 && new File(a).exists()) {
hzv.a((Activity) this, a);
return;
}
icv.a(this, getString(R.string.jadx_deobf_0x000021e4), 0);
w();
this.y.obtainMessage(5).sendToTarget();
if (this.q == null) {
icu.a(this);
icu.a("ssb_ddc", "", (Number) 1);
} else {
icu.a(this);
icu.a("ssb_ddc", this.q.b, (Number) 1);
}
}
public void a(gfd gfdVar) {
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(gfdVar.a);
intent.addFlags(268435456);
startActivity(intent);
} catch (ActivityNotFoundException e) {
}
icu.a(this);
icu.a("ssb_dobc", gfdVar.a, (Number) 1);
}
@Override
public void a(avt avtVar) {
if (avtVar != null && avtVar.c == 3 && (avtVar instanceof avr)) {
avr avrVar = (avr) avtVar;
Object obj = null;
for (Object obj2 : this.o) {
if (!(obj2 instanceof gfd) || !((gfd) obj2).a.equals(avrVar.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(avrVar.a)) {
this.A = 0;
this.y.obtainMessage(5).sendToTarget();
return;
}
return;
}
if (avtVar != null && avtVar.c == 2 && (avtVar instanceof avr)) {
avr avrVar2 = (avr) avtVar;
if (!TextUtils.isEmpty(this.G) && this.G.equals(avrVar2.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 = ibk.a(this);
if (a != null) {
List<ResolveInfo> queryIntentActivities = a.queryIntentActivities(intent, 65536);
if (this.I != null && this.H != null) {
for (ResolveInfo resolveInfo : queryIntentActivities) {
gfd gfdVar = new gfd();
gfdVar.c = resolveInfo.loadIcon(a);
gfdVar.d = ibj.d(resolveInfo.loadLabel(a).toString());
gfdVar.a = resolveInfo.activityInfo.packageName;
gfdVar.b = resolveInfo.activityInfo.name;
if (this.H.contains(gfdVar.a) || this.I.contains(gfdVar.a)) {
if (!c(gfdVar.a)) {
this.o.add(gfdVar);
}
}
}
}
}
}
public void B() {
hti.a().b(new gen(this));
}
private void C() {
hti.a().b(new geo(this));
}
public View b() {
return View.inflate(this, R.layout.jadx_deobf_0x00000a51, null);
}
private void D() {
ajp c = this.B.c("ssbbx", "com.baidu.searchbox");
if (c == null || c.n != 2) {
this.g = new hug(this);
this.g.c();
this.g.b(getResources().getString(R.string.jadx_deobf_0x00002938));
this.g.a(R.string.jadx_deobf_0x000021e0, new gep(this));
this.g.c(R.string.jadx_deobf_0x000021c0, new geq(this));
this.g.show();
}
}
public void a(String str) {
if ("news".equals(str)) {
icu.a(this);
icu.a("ssb", "ssb_nec", (Number) 1);
return;
}
if ("vedio".equals(str)) {
icu.a(this);
icu.a("ssb", "ssb_vic", (Number) 1);
} else if ("novel".equals(str)) {
icu.a(this);
icu.a("ssb", "ssb_noc", (Number) 1);
} else if ("relax".equals(str)) {
icu.a(this);
icu.a("ssb", "ssb_rec", (Number) 1);
}
}
public void a(int i, int i2, String str) {
switch (i2) {
case 1:
if (i == 2) {
icu.a(this);
icu.a("ssb", "ssbb_is", (Number) 1);
return;
} else {
if (i == 1) {
icu.a(this);
icu.a("ssr_is", str, (Number) 1);
return;
}
return;
}
case 2:
if (i == 2) {
icu.a(this);
icu.a("ssb", "ssbb_ds", (Number) 1);
return;
} else {
if (i == 1) {
icu.a(this);
icu.a("ssr_ds", str, (Number) 1);
return;
}
return;
}
case 3:
if (i == 2) {
icu.a(this);
icu.a("ssb", "ssbb_dc", (Number) 1);
return;
} else {
if (i == 1) {
icu.a(this);
icu.a("ssr_dc", str, (Number) 1);
return;
}
return;
}
case 4:
icu.a(this);
icu.a("ssb", "ssbb_op", (Number) 1);
return;
case 5:
icu.a(this);
icu.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);
avo.a((Context) this).b(this);
if (this.E != null) {
this.E.a();
this.E = null;
}
this.h = null;
unregisterReceiver(this.U);
super.onDestroy();
}
}