MT Manager v2.15.3版本的 MD5 值为:1cbd6ee7afdac97645dd3a8c4751ecf0
以下内容为反编译后的 AbstractC4861.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 AbstractC4861 {
public static boolean f15732;
public static String f15733;
public static String f15734;
public static String f15735;
public C1070 f15736;
public AbstractC4861(C1070 c1070) {
this.f15736 = c1070;
}
public final Bundle m12672() {
Bundle bundle = new Bundle();
bundle.putString("format", "json");
bundle.putString("status_os", Build.VERSION.RELEASE);
bundle.putString("status_machine", C2474.m7141().m7145());
bundle.putString("status_version", Build.VERSION.SDK);
bundle.putString("sdkv", "3.5.14.lite");
bundle.putString("sdkp", am.av);
C1070 c1070 = this.f15736;
if (c1070 != null && c1070.m3748()) {
bundle.putString("access_token", c1070.m3749());
bundle.putString("oauth_consumer_key", c1070.m3754());
bundle.putString("openid", c1070.m3753());
}
SharedPreferences sharedPreferences = C11739.m25896().getSharedPreferences("pfStore", 0);
if (f15732) {
bundle.putString("pf", "desktop_m_qq-" + f15734 + "-android-" + f15733 + "-" + f15735);
} else {
bundle.putString("pf", sharedPreferences.getString("pf", "openmobile_android"));
}
return bundle;
}
public final String m12673() {
Bundle m12672 = m12672();
StringBuilder sb = new StringBuilder("https://openmobile.qq.com/oauth2.0/m_jump_by_version?");
if (!TextUtils.isEmpty("")) {
m12672.putString("need_version", "");
}
sb.append(C7529.m18382(m12672));
return sb.toString();
}
public final Bundle m12674() {
Bundle bundle = new Bundle();
C1070 c1070 = this.f15736;
bundle.putString(c.d, c1070.m3754());
if (c1070.m3748()) {
bundle.putString("keystr", c1070.m3749());
bundle.putString("keytype", "0x80");
}
String m3753 = c1070.m3753();
if (m3753 != null) {
bundle.putString("hopenid", m3753);
}
bundle.putString("platform", "androidqz");
SharedPreferences sharedPreferences = C11739.m25896().getSharedPreferences("pfStore", 0);
if (f15732) {
bundle.putString("pf", "desktop_m_qq-" + f15734 + "-android-" + f15733 + "-" + f15735);
} 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 m12670(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) {
C14358.m30096("openSDK_LOG.BaseApi", "setActivityIntent security catch exception", th);
}
intent2.putExtra("key_request_orientation", activity.getRequestedOrientation());
intent2.putExtra("openSDK_LOG.AssistActivity.ExtraIntent", intent);
try {
C14358.m30098("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) {
C14358.m30096("openSDK_LOG.BaseApi", "setActivityIntent create pendingIntent exception", th2);
}
return intent2;
}
public static void m12671(Activity activity, Intent intent) {
intent.putExtra("key_request_code", 11101);
try {
activity.startActivityForResult(m12670(activity, intent), 11101);
} catch (Exception e) {
C14358.m30096("openSDK_LOG.BaseApi", "startAssitActivity exception", e);
}
}
}