360卫士 v7.0.0版本的 MD5 值为:43bd4833fa68f33fd0b83c22ef29ce8a
以下内容为反编译后的 FeedbackActivity.java 源代码,内容仅作参考
package com.qihoo360.mobilesafe.main.ui;
import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Base64;
import android.webkit.WebSettings;
import android.webkit.WebView;
import com.qihoo.antivirus.update.NetQuery;
import com.qihoo360.framework.base.IKillable;
import com.qihoo360.mobilesafe.R;
import com.qihoo360.mobilesafe.ui.SimpleBrowserActivity;
import com.qihoo360.mobilesafe.ui.index.MobileSafeApplication;
import defpackage.awi;
import defpackage.bhv;
import defpackage.bhw;
import defpackage.cha;
import defpackage.cwp;
import defpackage.cwz;
import defpackage.cxa;
import defpackage.dbu;
public class FeedbackActivity extends SimpleBrowserActivity implements IKillable {
private static final String a = FeedbackActivity.class.getSimpleName();
private String b;
@Override
public void onCreate(Bundle bundle) {
Intent intent = getIntent();
this.b = intent.getStringExtra("type");
intent.putExtra("url", f());
setIntent(intent);
super.onCreate(bundle);
if (!a()) {
finish();
return;
}
e();
WebView d = d();
d.setWebViewClient(new bhw(this));
WebSettings settings = d.getSettings();
settings.setUserAgentString(settings.getUserAgentString() + String.format(" 360MobileGuard/%s.%s 360Features:%s", "7.0.0", "1058", "tel,inputFile;"));
}
private void e() {
setTitle(getResources().getString(R.string.res_0x7f0900b3));
c().d();
b().h();
if (!dbu.a()) {
c().a(getString(R.string.res_0x7f0900b9));
c().a(new bhv(this));
}
}
private String f() {
String str;
String str2;
String a2 = cwp.a(cwz.b(MobileSafeApplication.a()));
String format = !TextUtils.isEmpty(this.b) ? String.format("&type=%s", this.b) : "";
String str3 = Build.VERSION.RELEASE;
if (cha.b()) {
str = NetQuery.CLOUD_HDR_IMEI;
} else {
str = "0";
}
String a3 = a(this);
String b = b(this);
String a4 = cxa.a(this);
if (str3 == null || str3.startsWith(NetQuery.CLOUD_HDR_UIVERSION)) {
if (str3 == null) {
str3 = "";
}
str2 = String.format("http://cx.shouji.360.cn/fankui/index.html?mid=%s&uiver=%s&ver=%s&os=%s&machine=%s&andrver=%s&isroot=%s&imsi=%s&iccid=%s&wid=%s&adapt=on", a2, 100, "7.0.0.1058", "Android", Base64.encodeToString(Build.MODEL.getBytes(), 0), "low", str3, str, a3, b) + format;
} else {
str2 = String.format("http://cx.shouji.360.cn/fankui/index.html?mid=%s&uiver=%s&ver=%s&os=%s&machine=%s&andrver=%s&isroot=%s&imsi=%s&iccid=%s&wid=%s&adapt=on", a2, 100, "7.0.0.1058", "Android", Base64.encodeToString(Build.MODEL.getBytes(), 0), str3, str, a3, b, a4) + format;
}
return str2 + "&app=mobileguard";
}
@Override
public boolean isKillable() {
return false;
}
@Override
public void onActivityResult(int i, int i2, Intent intent) {
super.onActivityResult(i, i2, intent);
}
private static String a(Context context) {
StringBuilder sb = new StringBuilder();
int a2 = awi.a(context);
if (a2 == 2 || a2 == 1) {
for (int i = 0; i < a2; i++) {
if (awi.b(context, i)) {
String c2 = awi.c(context, i);
StringBuilder append = new StringBuilder("imsi").append(i).append(":");
if (TextUtils.isEmpty(c2)) {
c2 = "unknownImsi";
}
sb.append(append.append(c2).toString());
}
}
}
return sb.toString();
}
private static String b(Context context) {
StringBuilder sb = new StringBuilder();
int a2 = awi.a(context);
if (a2 == 2 || a2 == 1) {
for (int i = 0; i < a2; i++) {
if (awi.b(context, i)) {
String d = awi.d(context, i);
StringBuilder append = new StringBuilder("iccid").append(i).append(":");
if (TextUtils.isEmpty(d)) {
d = "unknownIccid";
}
sb.append(append.append(d).toString());
}
}
}
return sb.toString();
}
}