PicWish v1.6.8版本的 MD5 值为:7e8bab240f03cf6dad8952f8374c4ed1
以下内容为反编译后的 e.java 源代码,内容仅作参考
package wa;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.Signature;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.NinePatch;
import android.graphics.Rect;
import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;
import android.graphics.drawable.NinePatchDrawable;
import android.graphics.drawable.PaintDrawable;
import android.os.Build;
import android.os.Bundle;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.DisplayMetrics;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.webkit.CookieSyncManager;
import android.widget.Button;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.renderscript.ScriptIntrinsicBLAS;
import com.appsflyer.AppsFlyerProperties;
import com.facebook.AccessToken;
import java.io.IOException;
import java.io.InputStream;
import java.lang.ref.WeakReference;
import java.net.URLDecoder;
import java.security.MessageDigest;
import java.util.Map;
import java.util.Objects;
import org.json.JSONException;
import org.json.JSONObject;
import ya.c;
public final class e extends ya.a {
public static String f13967i = "libwbsafeedit";
public static String f13968j;
public gb.c f13969f;
public String f13970g;
public WeakReference<Activity> f13971h;
public class a extends gb.a {
public WeakReference<gb.c> f13972a;
public abstract class AbstractView$OnClickListenerC0268a implements View.OnClickListener {
public Dialog f13974l;
public AbstractView$OnClickListenerC0268a(Dialog dialog) {
this.f13974l = dialog;
}
}
public a(gb.c cVar) {
this.f13972a = new WeakReference<>(cVar);
}
@Override
public final void a(gb.e eVar) {
if (this.f13972a.get() != null) {
this.f13972a.get().a(eVar);
}
}
@Override
public final void b(Object obj) {
boolean z10;
String str;
gb.c cVar;
boolean z11;
PackageInfo packageInfo;
String str2;
if (obj != null) {
JSONObject jSONObject = (JSONObject) obj;
try {
z10 = jSONObject.getInt("sendinstall") == 1;
} catch (JSONException unused) {
z10 = false;
}
try {
str = jSONObject.getString("installwording");
} catch (JSONException unused2) {
db.a.j("openSDK_LOG.AuthAgent", "FeedConfirmListener onComplete There is no value for sendinstall.");
str = "";
String decode = URLDecoder.decode(str);
db.a.g("openSDK_LOG.AuthAgent", " WORDING = " + decode + "xx,showConfirmDialog=" + z10);
if (z10) {
}
cVar = this.f13972a.get();
if (cVar != null) {
}
}
String decode2 = URLDecoder.decode(str);
db.a.g("openSDK_LOG.AuthAgent", " WORDING = " + decode2 + "xx,showConfirmDialog=" + z10);
if (z10 || TextUtils.isEmpty(decode2)) {
cVar = this.f13972a.get();
if (cVar != null) {
db.a.g("openSDK_LOG.AuthAgent", " userListener is null");
return;
}
f fVar = e.this.f14636a;
if (fVar != null) {
try {
if (fVar.f13981e == null) {
Context context = eb.d.f7150a;
if (context == null) {
context = null;
}
fVar.f13981e = new eb.b(context);
}
z11 = f.c(fVar.f13978a, jSONObject, fVar.f13981e);
} catch (Exception e10) {
StringBuilder b10 = androidx.core.graphics.a.b("login saveSession");
b10.append(e10.toString());
db.a.g("QQToken", b10.toString());
z11 = false;
}
db.a.g("openSDK_LOG.AuthAgent", " saveSession saveSuccess=" + z11);
} else {
z11 = false;
}
if (z11) {
cVar.b(obj);
return;
} else {
cVar.a(new gb.e(-6, "持久化失败!", null));
return;
}
}
gb.c cVar2 = this.f13972a.get();
WeakReference<Activity> weakReference = e.this.f13971h;
if (weakReference == null) {
db.a.g("openSDK_LOG.AuthAgent", "showFeedConfrimDialog mActivity null and return");
} else {
Activity activity = weakReference.get();
if (activity != null) {
Dialog dialog = new Dialog(activity);
dialog.requestWindowFeature(1);
PackageManager packageManager = activity.getPackageManager();
try {
packageInfo = packageManager.getPackageInfo(activity.getPackageName(), 0);
} catch (PackageManager.NameNotFoundException e11) {
StringBuilder b11 = androidx.core.graphics.a.b("showFeedConfrimDialog exception:");
b11.append(e11.getStackTrace().toString());
db.a.d("openSDK_LOG.AuthAgent", b11.toString());
packageInfo = null;
}
Drawable loadIcon = packageInfo != null ? packageInfo.applicationInfo.loadIcon(packageManager) : null;
wa.b bVar = new wa.b(this, dialog, cVar2, obj);
c cVar3 = new c(this, dialog, cVar2, obj);
ColorDrawable colorDrawable = new ColorDrawable();
colorDrawable.setAlpha(0);
dialog.getWindow().setBackgroundDrawable(colorDrawable);
DisplayMetrics displayMetrics = new DisplayMetrics();
((WindowManager) activity.getSystemService("window")).getDefaultDisplay().getMetrics(displayMetrics);
float f10 = displayMetrics.density;
RelativeLayout relativeLayout = new RelativeLayout(activity);
ImageView imageView = new ImageView(activity);
imageView.setImageDrawable(loadIcon);
imageView.setScaleType(ImageView.ScaleType.FIT_XY);
imageView.setId(1);
int i10 = (int) (60.0f * f10);
int i11 = (int) (14.0f * f10);
int i12 = (int) (18.0f * f10);
str2 = "openSDK_LOG.AuthAgent";
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(i10, i10);
layoutParams.addRule(9);
layoutParams.setMargins(0, i12, (int) (6.0f * f10), i12);
relativeLayout.addView(imageView, layoutParams);
TextView textView = new TextView(activity);
textView.setText(decode2);
textView.setTextSize(14.0f);
textView.setGravity(3);
textView.setIncludeFontPadding(false);
textView.setPadding(0, 0, 0, 0);
textView.setLines(2);
textView.setId(5);
textView.setMinWidth((int) (185.0f * f10));
RelativeLayout.LayoutParams layoutParams2 = new RelativeLayout.LayoutParams(-2, -2);
layoutParams2.addRule(1, 1);
layoutParams2.addRule(6, 1);
float f11 = 5.0f * f10;
layoutParams2.setMargins(0, 0, (int) f11, 0);
relativeLayout.addView(textView, layoutParams2);
View view = new View(activity);
view.setBackgroundColor(Color.rgb(214, 214, 214));
view.setId(3);
RelativeLayout.LayoutParams layoutParams3 = new RelativeLayout.LayoutParams(-2, 2);
layoutParams3.addRule(3, 1);
layoutParams3.addRule(5, 1);
layoutParams3.addRule(7, 5);
int i13 = (int) (12.0f * f10);
layoutParams3.setMargins(0, 0, 0, i13);
relativeLayout.addView(view, layoutParams3);
LinearLayout linearLayout = new LinearLayout(activity);
RelativeLayout.LayoutParams layoutParams4 = new RelativeLayout.LayoutParams(-2, -2);
layoutParams4.addRule(5, 1);
layoutParams4.addRule(7, 5);
layoutParams4.addRule(3, 3);
Button button = new Button(activity);
button.setText("跳过");
button.setBackgroundDrawable(c("buttonNegt.png", activity));
button.setTextColor(Color.rgb(36, 97, (int) ScriptIntrinsicBLAS.NON_UNIT));
button.setTextSize(20.0f);
button.setOnClickListener(cVar3);
button.setId(4);
int i14 = (int) (45.0f * f10);
LinearLayout.LayoutParams layoutParams5 = new LinearLayout.LayoutParams(0, i14);
layoutParams5.rightMargin = i11;
int i15 = (int) (4.0f * f10);
layoutParams5.leftMargin = i15;
layoutParams5.weight = 1.0f;
linearLayout.addView(button, layoutParams5);
Button button2 = new Button(activity);
button2.setText("确定");
button2.setTextSize(20.0f);
button2.setTextColor(Color.rgb(255, 255, 255));
button2.setBackgroundDrawable(c("buttonPost.png", activity));
button2.setOnClickListener(bVar);
LinearLayout.LayoutParams layoutParams6 = new LinearLayout.LayoutParams(0, i14);
layoutParams6.weight = 1.0f;
layoutParams6.rightMargin = i15;
linearLayout.addView(button2, layoutParams6);
relativeLayout.addView(linearLayout, layoutParams4);
ViewGroup.LayoutParams layoutParams7 = new FrameLayout.LayoutParams((int) (279.0f * f10), (int) (f10 * 163.0f));
relativeLayout.setPadding(i11, 0, i13, i13);
relativeLayout.setLayoutParams(layoutParams7);
relativeLayout.setBackgroundColor(Color.rgb(247, 251, 247));
PaintDrawable paintDrawable = new PaintDrawable(Color.rgb(247, 251, 247));
paintDrawable.setCornerRadius(f11);
relativeLayout.setBackgroundDrawable(paintDrawable);
dialog.setContentView(relativeLayout);
dialog.setOnCancelListener(new d(cVar2, obj));
if (!activity.isFinishing()) {
dialog.show();
}
db.a.g(str2, " WORDING is not empty and return");
}
db.a.g("openSDK_LOG.AuthAgent", "showFeedConfrimDialog mActivity.get() null and return");
}
str2 = "openSDK_LOG.AuthAgent";
db.a.g(str2, " WORDING is not empty and return");
}
}
public final Drawable c(String str, Context context) {
InputStream open;
Bitmap bitmap;
Drawable drawable = null;
try {
open = context.getApplicationContext().getAssets().open(str);
} catch (IOException e10) {
e10.printStackTrace();
}
if (open == null) {
return null;
}
if (!str.endsWith(".9.png")) {
drawable = Drawable.createFromStream(open, str);
open.close();
return drawable;
}
try {
bitmap = BitmapFactory.decodeStream(open);
} catch (OutOfMemoryError e11) {
e11.printStackTrace();
bitmap = null;
}
if (bitmap != null) {
byte[] ninePatchChunk = bitmap.getNinePatchChunk();
NinePatch.isNinePatchChunk(ninePatchChunk);
return new NinePatchDrawable(bitmap, ninePatchChunk, new Rect(), null);
}
return null;
}
@Override
public final void onCancel() {
if (this.f13972a.get() != null) {
this.f13972a.get().onCancel();
}
}
}
public class b extends gb.a {
public final gb.c f13975a;
public final Context f13976b;
public b(Context context, gb.c cVar) {
this.f13976b = context;
this.f13975a = cVar;
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, TokenListener()");
}
@Override
public final void a(gb.e eVar) {
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onError");
this.f13975a.a(eVar);
db.a.h();
}
@Override
public final void b(Object obj) {
f fVar;
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete");
JSONObject jSONObject = (JSONObject) obj;
try {
String string = jSONObject.getString(AccessToken.ACCESS_TOKEN_KEY);
String string2 = jSONObject.getString(AccessToken.EXPIRES_IN_KEY);
String string3 = jSONObject.getString("openid");
if (string != null && (fVar = e.this.f14636a) != null && string3 != null) {
fVar.f(string, string2);
e.this.f14636a.g(string3);
k3.m.e(this.f13976b, e.this.f14636a);
}
String string4 = jSONObject.getString("pf");
if (string4 != null) {
try {
this.f13976b.getSharedPreferences("pfStore", 0).edit().putString("pf", string4).commit();
} catch (Exception e10) {
e10.printStackTrace();
db.a.e("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete error", e10);
}
}
CookieSyncManager.getInstance().sync();
} catch (JSONException e11) {
e11.printStackTrace();
db.a.e("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete error", e11);
}
this.f13975a.b(jSONObject);
e.this.f13969f = null;
db.a.h();
}
@Override
public final void onCancel() {
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onCancel");
this.f13975a.onCancel();
db.a.h();
}
}
static {
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
String str = Build.CPU_ABI;
if (str == null || str.equals("")) {
f13967i = "libwbsafeedit";
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
db.a.g("openSDK_LOG.AuthAgent", "is arm(default) architecture");
} else if (str.equalsIgnoreCase("arm64-v8a")) {
f13967i = "libwbsafeedit_64";
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
db.a.g("openSDK_LOG.AuthAgent", "is arm64-v8a architecture");
} else if (str.equalsIgnoreCase("x86")) {
f13967i = "libwbsafeedit_x86";
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
db.a.g("openSDK_LOG.AuthAgent", "is x86 architecture");
} else if (str.equalsIgnoreCase("x86_64")) {
f13967i = "libwbsafeedit_x86_64";
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
db.a.g("openSDK_LOG.AuthAgent", "is x86_64 architecture");
} else {
f13967i = "libwbsafeedit";
f13968j = android.support.v4.media.b.b(new StringBuilder(), f13967i, ".so");
db.a.g("openSDK_LOG.AuthAgent", "is arm(default) architecture");
}
}
public e(f fVar) {
super(fVar);
}
public final int c(Activity activity, String str, gb.c cVar, boolean z10, Map map) {
boolean z11;
Context context;
Context context2;
double d9;
Object[] objArr;
boolean z12;
byte[] bArr;
this.f13970g = str;
this.f13971h = new WeakReference<>(activity);
this.f13969f = cVar;
Object[] objArr2 = new Object[2];
boolean booleanExtra = activity.getIntent().getBooleanExtra("KEY_FORCE_QR_LOGIN", false);
boolean e10 = eb.e.b(activity, this.f14636a.f13978a).e("C_LoginWeb");
db.a.g("openSDK_LOG.AuthAgent", "doLogin needForceQrLogin=" + booleanExtra + ", toWebLogin=" + e10);
if (!booleanExtra && !e10) {
db.a.g("openSDK_LOG.AuthAgent", "startActionActivity() -- start");
Intent intent = new Intent();
Context context3 = eb.d.f7150a;
if (context3 == null) {
context3 = null;
}
try {
DisplayMetrics displayMetrics = context3.getResources().getDisplayMetrics();
d9 = Math.sqrt(Math.pow(displayMetrics.widthPixels / displayMetrics.xdpi, 2.0d) + Math.pow(displayMetrics.heightPixels / displayMetrics.ydpi, 2.0d));
} catch (Throwable unused) {
d9 = 0.0d;
}
if (d9 > 6.5d) {
intent.setClassName("com.tencent.minihd.qq", "com.tencent.open.agent.AgentActivity");
Context context4 = eb.d.f7150a;
if (context4 == null) {
context4 = null;
}
}
intent.setClassName("com.tencent.mobileqq", "com.tencent.open.agent.AgentActivity");
Context context5 = eb.d.f7150a;
if (context5 == null) {
context5 = null;
}
if (!eb.g.e(context5, intent)) {
intent.setClassName("com.tencent.tim", "com.tencent.open.agent.AgentActivity");
Context context6 = eb.d.f7150a;
if (context6 == null) {
context6 = null;
}
if (!eb.g.e(context6, intent)) {
intent.setClassName("com.tencent.qqlite", "com.tencent.open.agent.AgentActivity");
Context context7 = eb.d.f7150a;
if (context7 == null) {
context7 = null;
}
if (!eb.g.e(context7, intent)) {
intent = null;
}
}
}
if (intent != null) {
Bundle b10 = b();
b10.putString("scope", this.f13970g);
b10.putString("client_id", this.f14636a.f13978a);
if (ya.a.f14635e) {
StringBuilder b11 = androidx.core.graphics.a.b("desktop_m_qq-");
androidx.activity.result.c.d(b11, ya.a.c, "-", "android", "-");
b11.append(ya.a.f14633b);
b11.append("-");
b11.append(ya.a.f14634d);
b10.putString("pf", b11.toString());
} else {
b10.putString("pf", "openmobile_android");
}
b10.putString("need_pay", "1");
Context context8 = eb.d.f7150a;
if (context8 == null) {
context8 = null;
}
b10.putString("oauth_app_name", context8.getApplicationInfo().loadLabel(context8.getPackageManager()).toString());
intent.putExtra("key_action", "action_login");
intent.putExtra("key_params", b10);
intent.putExtra(AppsFlyerProperties.APP_ID, this.f14636a.f13978a);
String string = b10.getString("status_os");
String string2 = b10.getString("status_machine");
String string3 = b10.getString("status_version");
String string4 = b10.getString("sdkv");
String string5 = b10.getString("client_id");
String string6 = b10.getString("need_pay");
String string7 = b10.getString("pf");
objArr = objArr2;
StringBuilder b12 = androidx.constraintlayout.core.parser.a.b("os=", string, ", machine=", string2, ", version=");
androidx.activity.result.c.d(b12, string3, ", sdkv=", string4, ", appId=");
androidx.activity.result.c.d(b12, string5, ", needPay=", string6, ", pf=");
b12.append(string7);
db.a.c("openSDK_LOG.AuthAgent", b12.toString());
StringBuilder sb2 = new StringBuilder();
if (string == null) {
string = "";
}
sb2.append(string);
if (string2 == null) {
string2 = "";
}
sb2.append(string2);
if (string3 == null) {
string3 = "";
}
sb2.append(string3);
if (string4 == null) {
string4 = "";
}
sb2.append(string4);
if (string5 == null) {
string5 = "";
}
sb2.append(string5);
if (string6 == null) {
string6 = "";
}
sb2.append(string6);
if (string7 == null) {
string7 = "";
}
sb2.append(string7);
String sb3 = sb2.toString();
String str2 = "";
try {
try {
MessageDigest messageDigest = MessageDigest.getInstance("SHA-256");
messageDigest.update(sb3.getBytes());
bArr = messageDigest.digest();
} catch (Exception e11) {
db.a.e("DESUtils", "encryptSha", e11);
bArr = null;
}
if (bArr == null) {
db.a.d("openSDK_LOG.SystemUtils", "getEncryptPkgName shaBytes==null !!!!!!");
} else {
byte[] bArr2 = new byte[8];
System.arraycopy(bArr, 5, bArr2, 0, 8);
byte[] bArr3 = new byte[16];
System.arraycopy(bArr, 8, bArr3, 0, 16);
String packageName = activity.getPackageName();
char[] cArr = new char[32];
for (int i10 = 0; i10 < 16; i10++) {
byte b13 = bArr3[i10];
int i11 = i10 * 2;
char[] cArr2 = a0.a.f50m;
cArr[i11 + 1] = cArr2[b13 & 15];
cArr[i11] = cArr2[((byte) (b13 >>> 4)) & 15];
}
str2 = a0.a.a(packageName, new String(cArr), bArr2);
}
} catch (Exception e12) {
db.a.e("openSDK_LOG.SystemUtils", "getEncryptPkgName", e12);
}
b10.putString("ppsts", str2);
Context context9 = eb.d.f7150a;
if (context9 == null) {
context9 = null;
}
if (eb.g.e(context9, intent)) {
this.f13969f = new a(this.f13969f);
ya.c a10 = ya.c.a();
gb.c cVar2 = this.f13969f;
Objects.requireNonNull(a10);
String c = eb.g.c(11101);
if (c == null) {
db.a.d("openSDK_LOG.UIListenerManager", "setListener action is null! rquestCode=11101");
} else {
synchronized (a10.f14645a) {
a10.f14645a.put(c, new c.a(cVar2));
}
}
db.a.c("openSDK_LOG.AuthAgent", "startAssitActivity activity");
intent.putExtra("key_request_code", 11101);
activity.startActivityForResult(a(activity, intent, map), 11101);
db.a.g("openSDK_LOG.AuthAgent", "startActionActivity() -- end, found activity for loginIntent");
cb.f.a().b(0, this.f14636a.f13978a, Long.valueOf(SystemClock.elapsedRealtime()), "");
objArr[0] = "0";
z12 = true;
objArr[1] = 1;
if (z12) {
db.a.g("openSDK_LOG.AuthAgent", "OpenUi, showUi, return Constants.UI_ACTIVITY");
cb.f a11 = cb.f.a();
f fVar = this.f14636a;
a11.c(fVar.c, fVar.f13978a, "5", (String) objArr[0]);
return ((Integer) objArr[1]).intValue();
}
}
} else {
objArr = objArr2;
}
cb.f.a().b(1, this.f14636a.f13978a, Long.valueOf(SystemClock.elapsedRealtime()), "startActionActivity fail");
db.a.g("openSDK_LOG.AuthAgent", "startActionActivity() -- end, no target activity for loginIntent");
z12 = false;
if (z12) {
}
}
cb.f a12 = cb.f.a();
f fVar2 = this.f14636a;
a12.c(fVar2.c, fVar2.f13978a, "5", "1");
db.a.j("openSDK_LOG.AuthAgent", "doLogin startActivity fail show dialog.");
a aVar = new a(this.f13969f);
this.f13969f = aVar;
Context context10 = eb.d.f7150a;
if (context10 == null) {
context10 = null;
}
CookieSyncManager.createInstance(context10);
Bundle b14 = b();
b14.putString("scope", this.f13970g);
b14.putString("client_id", this.f14636a.f13978a);
if (ya.a.f14635e) {
StringBuilder b15 = androidx.core.graphics.a.b("desktop_m_qq-");
androidx.activity.result.c.d(b15, ya.a.c, "-", "android", "-");
b15.append(ya.a.f14633b);
b15.append("-");
b15.append(ya.a.f14634d);
b14.putString("pf", b15.toString());
} else {
b14.putString("pf", "openmobile_android");
}
StringBuilder sb4 = new StringBuilder();
sb4.append(System.currentTimeMillis() / 1000);
String str3 = "";
sb4.append("");
String sb5 = sb4.toString();
Context context11 = eb.d.f7150a;
if (context11 == null) {
context11 = null;
}
db.a.i("openSDK_LOG.SystemUtils", "OpenUi, getSignValidString");
try {
String packageName2 = context11.getPackageName();
Signature[] signatureArr = context11.getPackageManager().getPackageInfo(packageName2, 64).signatures;
MessageDigest messageDigest2 = MessageDigest.getInstance("MD5");
messageDigest2.update(signatureArr[0].toByteArray());
String d10 = eb.i.d(messageDigest2.digest());
messageDigest2.reset();
db.a.i("openSDK_LOG.SystemUtils", "-->sign: " + d10);
messageDigest2.update(eb.i.o(packageName2 + "_" + d10 + "_" + sb5 + ""));
str3 = eb.i.d(messageDigest2.digest());
messageDigest2.reset();
StringBuilder sb6 = new StringBuilder();
sb6.append("-->signEncryped: ");
sb6.append(str3);
db.a.i("openSDK_LOG.SystemUtils", sb6.toString());
} catch (Exception e13) {
e13.printStackTrace();
db.a.e("openSDK_LOG.SystemUtils", "OpenUi, getSignValidString error", e13);
}
b14.putString("sign", str3);
b14.putString("time", sb5);
b14.putString("display", "mobile");
b14.putString("response_type", "token");
b14.putString("redirect_uri", "auth://tauth.qq.com/");
b14.putString("cancel_display", "1");
b14.putString("switch", "1");
b14.putString("compat_v", "1");
if (z10) {
b14.putString("style", "qr");
}
if (map != null && !map.isEmpty()) {
Object obj = map.get(ya.b.f14643e);
if (obj instanceof Boolean) {
z11 = ((Boolean) obj).booleanValue();
b14.putString("show_download_ui", Boolean.toString(z11));
db.a.g("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- start, isShowDownloadUi=" + z11);
StringBuilder sb7 = new StringBuilder();
eb.f a13 = eb.f.a();
context = eb.d.f7150a;
if (context == null) {
context = null;
}
sb7.append(a13.b(context, "https://openmobile.qq.com/oauth2.0/m_authorize?"));
sb7.append(eb.a.c(b14));
String sb8 = sb7.toString();
context2 = eb.d.f7150a;
if (context2 == null) {
context2 = null;
}
b bVar = new b(context2, aVar);
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, showDialog TDialog");
eb.h.a(new wa.a(this, sb8, bVar));
db.a.g("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- end");
return 2;
}
}
z11 = true;
b14.putString("show_download_ui", Boolean.toString(z11));
db.a.g("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- start, isShowDownloadUi=" + z11);
StringBuilder sb72 = new StringBuilder();
eb.f a132 = eb.f.a();
context = eb.d.f7150a;
if (context == null) {
}
sb72.append(a132.b(context, "https://openmobile.qq.com/oauth2.0/m_authorize?"));
sb72.append(eb.a.c(b14));
String sb82 = sb72.toString();
context2 = eb.d.f7150a;
if (context2 == null) {
}
b bVar2 = new b(context2, aVar);
db.a.c("openSDK_LOG.AuthAgent", "OpenUi, showDialog TDialog");
eb.h.a(new wa.a(this, sb82, bVar2));
db.a.g("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- end");
return 2;
}
}