360卫士 v7.0.0版本的 MD5 值为:43bd4833fa68f33fd0b83c22ef29ce8a
以下内容为反编译后的 AboutMainActivity.java 源代码,内容仅作参考
package com.qihoo360.mobilesafe.main.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.qihoo360.i.a.BaseActivity;
import com.qihoo360.mobilesafe.R;
import com.qihoo360.mobilesafe.ui.SimpleBrowserActivity;
import defpackage.big;
import defpackage.bih;
import defpackage.cxi;
import defpackage.dbu;
public class AboutMainActivity extends BaseActivity implements View.OnClickListener, bih {
private big a;
private big b;
public static void a(Context context) {
context.startActivity(new Intent(context, (Class<?>) AboutMainActivity.class));
}
@Override
public void onCreate(Bundle bundle) {
super.onCreate(bundle);
setContentView(R.layout.res_0x7f03001c);
a();
b();
}
@Override
protected void onDestroy() {
super.onDestroy();
this.b.a();
this.a.a();
}
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
}
private void a() {
this.b = new big(findViewById(R.id.res_0x7f0b0091));
this.b.a(this);
this.a = new big(findViewById(R.id.res_0x7f0b0090));
this.a.a(this);
if (dbu.a()) {
findViewById(R.id.res_0x7f0b0093).setVisibility(8);
} else {
findViewById(R.id.res_0x7f0b0093).setOnClickListener(this);
}
findViewById(R.id.res_0x7f0b0094).setOnClickListener(this);
}
private void b() {
((TextView) findViewById(R.id.res_0x7f0b0091)).setText(getString(R.string.res_0x7f0900b5, new Object[]{"7.0.0", "1058"}));
}
@Override
public void onClick(View view) {
switch (view.getId()) {
case R.id.res_0x7f0b0093:
AboutThanksActivity.a(this);
return;
case R.id.res_0x7f0b0094:
SimpleBrowserActivity.a(this, "file:///android_asset/statement/statement.html#####statement/css/style.css", getString(R.string.res_0x7f0900b8), true);
return;
default:
return;
}
}
@Override
public final boolean a(View view, int i) {
switch (view.getId()) {
case R.id.res_0x7f0b0090:
if (i >= 6) {
SimpleBrowserActivity.a(this, "http://pop.shouji.360.cn/weishi6.html", getString(R.string.res_0x7f0900b4), false);
return true;
}
return false;
case R.id.res_0x7f0b0091:
if (i >= 6) {
cxi.a((Context) this).show();
return true;
}
return false;
default:
return false;
}
}
}