MT Manager v2.15.3版本的 MD5 值为:34ea5286e529d87838c6cae0a2220d93
以下内容为反编译后的 AbstractC14967.java 源代码,内容仅作参考
package l;
import android.app.Activity;
import android.app.PendingIntent;
import android.content.ClipData;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import com.alipay.sdk.m.p0.c;
import com.tencent.connect.common.AssistActivity;
import com.umeng.analytics.pro.am;
public abstract class AbstractC14967 {
public static String f44945;
public static String f44946;
public static boolean f44947;
public static String f44948;
public C2898 f44949;
public AbstractC14967(C2898 c2898) {
this.f44949 = c2898;
}
public final Bundle m30995() {
Bundle bundle = new Bundle();
bundle.putString("format", "json");
bundle.putString("status_os", Build.VERSION.RELEASE);
bundle.putString("status_machine", C9448.m21448().m21449());
bundle.putString("status_version", Build.VERSION.SDK);
bundle.putString("sdkv", "3.5.14.lite");
bundle.putString("sdkp", am.av);
C2898 c2898 = this.f44949;
if (c2898 != null && c2898.m8194()) {
bundle.putString("access_token", c2898.m8189());
bundle.putString("oauth_consumer_key", c2898.m8193());
bundle.putString("openid", c2898.m8188());
}
SharedPreferences sharedPreferences = C11132.m23995().getSharedPreferences("pfStore", 0);
if (f44947) {
bundle.putString("pf", "desktop_m_qq-" + f44945 + "-android-" + f44948 + "-" + f44946);
} else {
bundle.putString("pf", sharedPreferences.getString("pf", "openmobile_android"));
}
return bundle;
}
public final String m30996() {
Bundle m30995 = m30995();
StringBuilder sb = new StringBuilder("https://openmobile.qq.com/oauth2.0/m_jump_by_version?");
if (!TextUtils.isEmpty("")) {
m30995.putString("need_version", "");
}
sb.append(C1261.m3831(m30995));
return sb.toString();
}
public final Bundle m30997() {
Bundle bundle = new Bundle();
C2898 c2898 = this.f44949;
bundle.putString(c.d, c2898.m8193());
if (c2898.m8194()) {
bundle.putString("keystr", c2898.m8189());
bundle.putString("keytype", "0x80");
}
String m8188 = c2898.m8188();
if (m8188 != null) {
bundle.putString("hopenid", m8188);
}
bundle.putString("platform", "androidqz");
SharedPreferences sharedPreferences = C11132.m23995().getSharedPreferences("pfStore", 0);
if (f44947) {
bundle.putString("pf", "desktop_m_qq-" + f44945 + "-android-" + f44948 + "-" + f44946);
} else {
bundle.putString("pf", sharedPreferences.getString("pf", "openmobile_android"));
bundle.putString("pf", "openmobile_android");
}
bundle.putString("sdkv", "3.5.14.lite");
bundle.putString("sdkp", am.av);
return bundle;
}
public static Intent m30993(Activity activity, Intent intent) {
PendingIntent activity2;
Intent intent2 = new Intent(activity.getApplicationContext(), (Class<?>) AssistActivity.class);
intent2.putExtra("is_login", true);
try {
if (intent.getClipData() == null) {
intent.setClipData(ClipData.newPlainText(null, null));
}
intent.setFlags(intent.getFlags() & (-196));
} catch (Throwable th) {
C5471.m13577("openSDK_LOG.BaseApi", "setActivityIntent security catch exception", th);
}
intent2.putExtra("key_request_orientation", activity.getRequestedOrientation());
intent2.putExtra("openSDK_LOG.AssistActivity.ExtraIntent", intent);
try {
C5471.m13573("openSDK_LOG.BaseApi", "setActivityIntent requestCode: 11101");
if (Build.VERSION.SDK_INT >= 23) {
activity2 = PendingIntent.getActivity(activity, 11101, intent, 1140850688);
} else {
activity2 = PendingIntent.getActivity(activity, 11101, intent, 1073741824);
}
intent2.putExtra("key_extra_pending_intent", activity2);
} catch (Throwable th2) {
C5471.m13577("openSDK_LOG.BaseApi", "setActivityIntent create pendingIntent exception", th2);
}
return intent2;
}
public static void m30994(Activity activity, Intent intent) {
intent.putExtra("key_request_code", 11101);
try {
activity.startActivityForResult(m30993(activity, intent), 11101);
} catch (Exception e) {
C5471.m13577("openSDK_LOG.BaseApi", "startAssitActivity exception", e);
}
}
}