酷狗概念版 v2.5.5版本的 MD5 值为:782d327088fca4e58310f35a56f41319
以下内容为反编译后的 f.java 源代码,内容仅作参考
package com.kugou.crash.c;
import android.content.Context;
import android.os.Build;
import android.text.TextUtils;
import com.kugou.common.utils.ba;
import com.kugou.common.utils.bz;
import com.kugou.crash.CrashBean;
import com.tencent.connect.common.Constants;
import com.tencent.stat.DeviceInfo;
import dualsim.common.PhoneInfoBridge;
import java.io.UnsupportedEncodingException;
import java.util.ArrayList;
import java.util.Hashtable;
import java.util.Set;
import net.wequick.small.m;
import org.apache.http.Header;
import org.apache.http.HttpEntity;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.message.BasicNameValuePair;
public class f implements com.kugou.common.network.d.g {
CrashBean f55281a;
Context f55282b;
@Override
public String getGetRequestParams() {
return "";
}
@Override
public Header[] getHttpHeaders() {
return null;
}
@Override
public String getRequestModuleName() {
return "Statistics";
}
@Override
public String getRequestType() {
return Constants.HTTP_POST;
}
public f(Context context, CrashBean crashBean) {
this.f55281a = crashBean;
this.f55282b = context;
}
@Override
public HttpEntity getPostRequestEntity() {
com.kugou.common.entity.g j = com.kugou.android.support.dexfail.d.j(this.f55282b);
String a2 = com.kugou.android.support.dexfail.d.a(j.f());
String c2 = j.c();
String a3 = j.a();
String valueOf = String.valueOf(this.f55281a.f55244e);
String a4 = bz.a(this.f55281a.g());
String d2 = j.d();
String valueOf2 = String.valueOf(j.i());
String a5 = new ba().a(a2 + c2 + "kugou2011");
String a6 = bz.a(j.e());
String g = com.kugou.android.support.dexfail.d.g(this.f55282b);
Hashtable hashtable = new Hashtable();
hashtable.put(DeviceInfo.TAG_MID, a2);
hashtable.put(DeviceInfo.TAG_VERSION, c2);
hashtable.put("plat", a3);
hashtable.put("type", valueOf);
hashtable.put("posttime", a4);
hashtable.put("system", d2);
hashtable.put("apiver", valueOf2);
hashtable.put("m", a5);
hashtable.put("model", a6);
if (TextUtils.isEmpty(g)) {
g = "";
}
hashtable.put("chl", g);
hashtable.put("huidu", com.kugou.android.support.dexfail.d.a() ? "1" : "0");
hashtable.put("isfirst", this.f55281a.o ? "1" : "0");
hashtable.put("patchid", com.kugou.crash.d.d.d());
hashtable.put("kanUser", this.f55281a.t + "");
hashtable.put("kgliveUser", this.f55281a.u + "");
hashtable.put("gitversion", this.f55281a.s);
hashtable.put("pre_version", String.valueOf(this.f55281a.w));
hashtable.put("cpu_abi", Build.CPU_ABI);
hashtable.put(PhoneInfoBridge.KEY_MANUFACTURER_STRING, Build.MANUFACTURER);
m.a((Hashtable<String, String>) hashtable);
hashtable.put("pluginver", net.wequick.small.a.f.c());
Set<String> keySet = hashtable.keySet();
ArrayList arrayList = new ArrayList();
for (String str : keySet) {
arrayList.add(new BasicNameValuePair(str, (String) hashtable.get(str)));
}
try {
return new UrlEncodedFormEntity(arrayList);
} catch (UnsupportedEncodingException unused) {
return null;
}
}
@Override
public String getUrl() {
return !TextUtils.isEmpty(g.f55284b) ? g.f55284b : "http://mobilelog.kugou.com/crash.php";
}
}