MT Manager v2.15.3版本的 MD5 值为:27f0d62ac7123fbbaefff319fdab9f13
以下内容为反编译后的 AbstractC0732.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 AbstractC0732 {
public static boolean f2612;
public static String f2613;
public static String f2614;
public static String f2615;
public C1904 f2616;
public AbstractC0732(C1904 c1904) {
this.f2616 = c1904;
}
public final Bundle m2497() {
Bundle bundle = new Bundle();
bundle.putString("format", "json");
bundle.putString("status_os", Build.VERSION.RELEASE);
bundle.putString("status_machine", C9575.m22037().m22042());
bundle.putString("status_version", Build.VERSION.SDK);
bundle.putString("sdkv", "3.5.14.lite");
bundle.putString("sdkp", am.av);
C1904 c1904 = this.f2616;
if (c1904 != null && c1904.m5613()) {
bundle.putString("access_token", c1904.m5609());
bundle.putString("oauth_consumer_key", c1904.m5614());
bundle.putString("openid", c1904.m5615());
}
SharedPreferences sharedPreferences = C3680.m10014().getSharedPreferences("pfStore", 0);
if (f2612) {
bundle.putString("pf", "desktop_m_qq-" + f2615 + "-android-" + f2613 + "-" + f2614);
} else {
bundle.putString("pf", sharedPreferences.getString("pf", "openmobile_android"));
}
return bundle;
}
public final String m2498() {
Bundle m2497 = m2497();
StringBuilder sb = new StringBuilder("https://openmobile.qq.com/oauth2.0/m_jump_by_version?");
if (!TextUtils.isEmpty("")) {
m2497.putString("need_version", "");
}
sb.append(C1154.m3707(m2497));
return sb.toString();
}
public final Bundle m2499() {
Bundle bundle = new Bundle();
C1904 c1904 = this.f2616;
bundle.putString(c.d, c1904.m5614());
if (c1904.m5613()) {
bundle.putString("keystr", c1904.m5609());
bundle.putString("keytype", "0x80");
}
String m5615 = c1904.m5615();
if (m5615 != null) {
bundle.putString("hopenid", m5615);
}
bundle.putString("platform", "androidqz");
SharedPreferences sharedPreferences = C3680.m10014().getSharedPreferences("pfStore", 0);
if (f2612) {
bundle.putString("pf", "desktop_m_qq-" + f2615 + "-android-" + f2613 + "-" + f2614);
} 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 m2495(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) {
C10884.m24177("openSDK_LOG.BaseApi", "setActivityIntent security catch exception", th);
}
intent2.putExtra("key_request_orientation", activity.getRequestedOrientation());
intent2.putExtra("openSDK_LOG.AssistActivity.ExtraIntent", intent);
try {
C10884.m24184("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) {
C10884.m24177("openSDK_LOG.BaseApi", "setActivityIntent create pendingIntent exception", th2);
}
return intent2;
}
public static void m2496(Activity activity, Intent intent) {
intent.putExtra("key_request_code", 11101);
try {
activity.startActivityForResult(m2495(activity, intent), 11101);
} catch (Exception e) {
C10884.m24177("openSDK_LOG.BaseApi", "startAssitActivity exception", e);
}
}
}