QQ浏览器 v12.2.3.7053版本的 MD5 值为:8285ab3059e5c8b521a264dfbc5c3685
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.tencent.luggage.wxa.fh;
import android.text.TextUtils;
import com.huawei.hms.actions.SearchIntents;
import com.tencent.common.http.HttpHeader;
import com.tencent.ilive.opensdk.params.SystemDictionary;
import com.tencent.luggage.util.m;
import com.tencent.luggage.wxa.ea.b;
import com.tencent.luggage.wxa.eb.e;
import com.tencent.luggage.wxa.ee.c;
import com.tencent.luggage.wxa.px.e;
import com.tencent.luggage.wxa.se.ai;
import com.tencent.luggage.wxa.se.r;
import com.tencent.mm.plugin.appbrand.appcache.q;
import com.tencent.xweb.WebView;
import org.json.JSONObject;
import org.xwalk.core.XWalkEnvironment;
public class a extends com.tencent.luggage.wxa.ee.d implements com.tencent.luggage.wxa.ou.e {
public a() {
this(new c.b());
}
public a(b.a aVar) {
super(aVar);
a(q.b());
a((Class<Class>) e.b.class, (Class) new com.tencent.luggage.wxa.ff.a());
}
public a(Class<? extends com.tencent.luggage.wxa.ee.f> cls) {
super(cls);
a(q.b());
a((Class<Class>) e.b.class, (Class) new com.tencent.luggage.wxa.ff.a());
}
@Override
public final void a(String str, long j, long j2, Object obj) {
if (d()) {
super.a(str, j, j2, obj);
com.tencent.mm.plugin.appbrand.keylogger.d.a(m().ab(), com.tencent.luggage.wxa.qc.a.D, "wxConfig", j, j2);
}
}
@Override
public void a(JSONObject jSONObject) {
super.a(jSONObject);
a(jSONObject, SystemDictionary.field_clientVersion, (Object) 671090480);
com.tencent.luggage.wxa.kn.a.a(true, jSONObject);
com.tencent.luggage.wxa.kn.a.h(com.tencent.luggage.wxa.tz.c.a(getContext()), jSONObject);
com.tencent.luggage.wxa.kn.a.g(com.tencent.luggage.wxa.tz.c.a(getContext()), jSONObject);
com.tencent.luggage.wxa.kn.a.b(true, jSONObject);
com.tencent.luggage.wxa.kn.a.e(true, jSONObject);
com.tencent.luggage.wxa.kn.a.f(true, jSONObject);
com.tencent.luggage.wxa.kn.a.c(false, jSONObject);
com.tencent.luggage.wxa.kn.a.d(XWalkEnvironment.isCurrentVersionSupportCustomTextAreaForAppbrand() && WebView.isXWalk(), jSONObject);
}
@Override
public JSONObject i() {
JSONObject i = super.i();
a(i, "debug", Boolean.valueOf(m().A().f17825b));
JSONObject jSONObject = new JSONObject();
a(i, "appLaunchInfo", jSONObject);
String at = m().at();
String trim = m.b(at).trim();
if (TextUtils.isEmpty(trim)) {
trim = m().ak().h();
}
a(jSONObject, "path", trim);
a(jSONObject, SearchIntents.EXTRA_QUERY, new JSONObject(m.c(at)));
a(jSONObject, "referrerInfo", m().B().l());
if (!TextUtils.isEmpty(m().B().e)) {
a(jSONObject, "shortLink", m().B().e);
}
e.a.f24195a.b(m(), jSONObject);
e.a.f24195a.c(m(), jSONObject);
e.a.f24195a.a((com.tencent.luggage.wxa.eo.d) m(), i);
com.tencent.luggage.wxa.dy.d i2 = m().A();
JSONObject jSONObject2 = new JSONObject();
a(jSONObject2, "maxRequestConcurrent", Integer.valueOf(i2.k));
a(jSONObject2, "maxUploadConcurrent", Integer.valueOf(i2.l));
a(jSONObject2, "maxDownloadConcurrent", Integer.valueOf(i2.m));
a(jSONObject2, "maxWebsocketConnect", Integer.valueOf(i2.n));
a(jSONObject2, "maxWorkerConcurrent", Integer.valueOf(i2.o));
try {
JSONObject optJSONObject = i.optJSONObject(HttpHeader.RSP.WUP_ENV);
if (optJSONObject == null) {
optJSONObject = new JSONObject();
i.put(HttpHeader.RSP.WUP_ENV, optJSONObject);
}
optJSONObject.put("USER_DATA_PATH", "wxfile://usr");
optJSONObject.put("OPEN_DATA_PATH", "wxfile://opendata");
optJSONObject.put("CLIENT_DATA_PATH", "wxfile://clientdata");
optJSONObject.put("HAS_SPLASHSCREEN", 0);
} catch (Exception unused) {
}
a(i, "appLaunchInfo", jSONObject);
a(i, "wxAppInfo", jSONObject2);
a(i, "isPluginMiniProgram", (Object) false);
a(i, "envVersion", com.tencent.luggage.wxa.lt.b.a(m().B().H).name().toLowerCase());
JSONObject jSONObject3 = new JSONObject();
try {
jSONObject3 = new JSONObject(m().B().b());
} catch (Exception unused2) {
}
try {
if (!ai.c(i2.i)) {
JSONObject jSONObject4 = new JSONObject();
jSONObject4.put("jsonInfo", new JSONObject(i2.i));
a(jSONObject3, "operationInfo", jSONObject4);
}
} catch (Exception e) {
r.b("Luggage.AppService", "postProcessConfig, put operationInfo to appContactInfo fail", e);
}
a(i, "appContactInfo", jSONObject3);
a(i, "accountInfo", m().B().k());
a(i, "supportAsyncAudio", (Object) true);
return i;
}
@Override
public com.tencent.luggage.wxa.ex.d m() {
return (com.tencent.luggage.wxa.ex.d) super.m();
}
}