秦华影视 v1.0.0版本的 MD5 值为:90520322e40df4849cf4989ab6339524
以下内容为反编译后的 ya2.java 源代码,内容仅作参考
package p.a.y.e.a.s.e.net;
import android.app.Activity;
import android.app.Dialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
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.fragment.app.Fragment;
import com.alibaba.fastjson.asm.MethodWriter;
import com.meizu.cloud.pushsdk.networking.common.ANConstants;
import com.tencent.open.utils.HttpUtils;
import com.tencent.open.web.security.JniInterface;
import java.io.IOException;
import java.io.InputStream;
import java.lang.ref.WeakReference;
import java.net.URLDecoder;
import org.json.JSONException;
import org.json.JSONObject;
import p.a.y.e.a.s.e.net.gb2;
public class ya2 extends gb2 {
public static String lite_break = "libwbsafeedit";
public static String lite_catch = null;
public static final String lite_else = "libwbsafeedit_x86";
public static final String lite_goto = "libwbsafeedit_x86_64";
public static final String lite_long = "libwbsafeedit";
public static final String lite_this = "libwbsafeedit_64";
public static final String lite_void = "KEY_FORCE_QR_LOGIN";
private ld2 lite_byte;
private String lite_case;
private WeakReference<Activity> lite_char;
public class a implements Runnable {
public final String lite_static;
public final ld2 lite_switch;
public class RunnableC0118a implements Runnable {
public final Activity lite_static;
public RunnableC0118a(Activity activity) {
this.lite_static = activity;
}
@Override
public void run() {
if (JniInterface.lite_do) {
Activity activity = this.lite_static;
a aVar = a.this;
ab2 ab2Var = new ab2(activity, "action_login", aVar.lite_static, aVar.lite_switch, ya2.this.lite_if);
if (this.lite_static.isFinishing()) {
return;
}
ab2Var.show();
return;
}
ic2.lite_float("openSDK_LOG.AuthAgent", "OpenUi, secure so load failed, goto download QQ.");
xb2 xb2Var = new xb2(this.lite_static, "", ya2.this.lite_for(""), null, ya2.this.lite_if);
if (this.lite_static.isFinishing()) {
return;
}
xb2Var.show();
}
}
public a(String str, ld2 ld2Var) {
this.lite_static = str;
this.lite_switch = ld2Var;
}
@Override
public void run() {
Activity activity;
ad2.lite_goto(ya2.lite_break, ya2.lite_catch, 3);
JniInterface.lite_do();
if (ya2.this.lite_char == null || (activity = (Activity) ya2.this.lite_char.get()) == null) {
return;
}
activity.runOnUiThread(new RunnableC0118a(activity));
}
}
public class b implements ld2 {
public ld2 lite_do;
public b(ld2 ld2Var) {
this.lite_do = ld2Var;
}
@Override
public void lite_do(nd2 nd2Var) {
ld2 ld2Var = this.lite_do;
if (ld2Var != null) {
ld2Var.lite_do(nd2Var);
}
}
@Override
public void lite_if(Object obj) {
if (obj == null) {
ic2.lite_case("openSDK_LOG.AuthAgent", "CheckLoginListener response data is null");
return;
}
JSONObject jSONObject = (JSONObject) obj;
try {
int i = jSONObject.getInt("ret");
String string = i == 0 ? ANConstants.SUCCESS : jSONObject.getString("msg");
ld2 ld2Var = this.lite_do;
if (ld2Var != null) {
ld2Var.lite_if(new JSONObject().put("ret", i).put("msg", string));
}
} catch (JSONException e) {
e.printStackTrace();
ic2.lite_case("openSDK_LOG.AuthAgent", "CheckLoginListener response data format error");
}
}
@Override
public void onCancel() {
ld2 ld2Var = this.lite_do;
if (ld2Var != null) {
ld2Var.onCancel();
}
}
}
public class c implements ld2 {
public WeakReference<ld2> lite_do;
private final String lite_if = "sendinstall";
private final String lite_for = "installwording";
private final String lite_int = "https://appsupport.qq.com/cgi-bin/qzapps/mapp_addapp.cgi";
public class a extends d {
public final Object lite_boolean;
public final ld2 lite_throws;
public a(Dialog dialog, ld2 ld2Var, Object obj) {
super(dialog);
this.lite_throws = ld2Var;
this.lite_boolean = obj;
}
@Override
public void onClick(View view) {
c.this.lite_new();
Dialog dialog = this.lite_static;
if (dialog != null && dialog.isShowing()) {
this.lite_static.dismiss();
}
ld2 ld2Var = this.lite_throws;
if (ld2Var != null) {
ld2Var.lite_if(this.lite_boolean);
}
}
}
public class b extends d {
public final Object lite_boolean;
public final ld2 lite_throws;
public b(Dialog dialog, ld2 ld2Var, Object obj) {
super(dialog);
this.lite_throws = ld2Var;
this.lite_boolean = obj;
}
@Override
public void onClick(View view) {
Dialog dialog = this.lite_static;
if (dialog != null && dialog.isShowing()) {
this.lite_static.dismiss();
}
ld2 ld2Var = this.lite_throws;
if (ld2Var != null) {
ld2Var.lite_if(this.lite_boolean);
}
}
}
public class DialogInterfaceOnCancelListenerC0119c implements DialogInterface.OnCancelListener {
public final ld2 lite_static;
public final Object lite_switch;
public DialogInterfaceOnCancelListenerC0119c(ld2 ld2Var, Object obj) {
this.lite_static = ld2Var;
this.lite_switch = obj;
}
@Override
public void onCancel(DialogInterface dialogInterface) {
ld2 ld2Var = this.lite_static;
if (ld2Var != null) {
ld2Var.lite_if(this.lite_switch);
}
}
}
public abstract class d implements View.OnClickListener {
public Dialog lite_static;
public d(Dialog dialog) {
this.lite_static = dialog;
}
}
public c(ld2 ld2Var) {
this.lite_do = new WeakReference<>(ld2Var);
}
private Drawable lite_for(String str, Context context) {
InputStream open;
Bitmap bitmap;
Drawable drawable = null;
try {
open = context.getApplicationContext().getAssets().open(str);
} catch (IOException e) {
e.printStackTrace();
}
if (open == null) {
return null;
}
if (str.endsWith(".9.png")) {
try {
bitmap = BitmapFactory.decodeStream(open);
} catch (OutOfMemoryError e2) {
e2.printStackTrace();
bitmap = null;
}
if (bitmap == null) {
return null;
}
byte[] ninePatchChunk = bitmap.getNinePatchChunk();
NinePatch.isNinePatchChunk(ninePatchChunk);
return new NinePatchDrawable(bitmap, ninePatchChunk, new Rect(), null);
}
drawable = Drawable.createFromStream(open, str);
open.close();
return drawable;
}
private View lite_int(Context context, Drawable drawable, String str, View.OnClickListener onClickListener, View.OnClickListener onClickListener2) {
DisplayMetrics displayMetrics = new DisplayMetrics();
((WindowManager) context.getSystemService("window")).getDefaultDisplay().getMetrics(displayMetrics);
float f = displayMetrics.density;
RelativeLayout relativeLayout = new RelativeLayout(context);
ImageView imageView = new ImageView(context);
imageView.setImageDrawable(drawable);
imageView.setScaleType(ImageView.ScaleType.FIT_XY);
imageView.setId(1);
int i = (int) (60.0f * f);
int i2 = (int) (f * 14.0f);
int i3 = (int) (18.0f * f);
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(i, i);
layoutParams.addRule(9);
layoutParams.setMargins(0, i3, (int) (6.0f * f), i3);
relativeLayout.addView(imageView, layoutParams);
TextView textView = new TextView(context);
textView.setText(str);
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 * f));
RelativeLayout.LayoutParams layoutParams2 = new RelativeLayout.LayoutParams(-2, -2);
layoutParams2.addRule(1, 1);
layoutParams2.addRule(6, 1);
float f2 = 5.0f * f;
layoutParams2.setMargins(0, 0, (int) f2, 0);
relativeLayout.addView(textView, layoutParams2);
View view = new View(context);
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 i4 = (int) (12.0f * f);
layoutParams3.setMargins(0, 0, 0, i4);
relativeLayout.addView(view, layoutParams3);
LinearLayout linearLayout = new LinearLayout(context);
RelativeLayout.LayoutParams layoutParams4 = new RelativeLayout.LayoutParams(-2, -2);
layoutParams4.addRule(5, 1);
layoutParams4.addRule(7, 5);
layoutParams4.addRule(3, 3);
Button button = new Button(context);
button.setText("跳过");
button.setBackgroundDrawable(lite_for("buttonNegt.png", context));
button.setTextColor(Color.rgb(36, 97, 131));
button.setTextSize(20.0f);
button.setOnClickListener(onClickListener2);
button.setId(4);
int i5 = (int) (45.0f * f);
LinearLayout.LayoutParams layoutParams5 = new LinearLayout.LayoutParams(0, i5);
layoutParams5.rightMargin = i2;
int i6 = (int) (4.0f * f);
layoutParams5.leftMargin = i6;
layoutParams5.weight = 1.0f;
linearLayout.addView(button, layoutParams5);
Button button2 = new Button(context);
button2.setText("确定");
button2.setTextSize(20.0f);
button2.setTextColor(Color.rgb(255, 255, 255));
button2.setBackgroundDrawable(lite_for("buttonPost.png", context));
button2.setOnClickListener(onClickListener);
LinearLayout.LayoutParams layoutParams6 = new LinearLayout.LayoutParams(0, i5);
layoutParams6.weight = 1.0f;
layoutParams6.rightMargin = i6;
linearLayout.addView(button2, layoutParams6);
relativeLayout.addView(linearLayout, layoutParams4);
ViewGroup.LayoutParams layoutParams7 = new FrameLayout.LayoutParams((int) (279.0f * f), (int) (f * 163.0f));
relativeLayout.setPadding(i2, 0, i4, i4);
relativeLayout.setLayoutParams(layoutParams7);
relativeLayout.setBackgroundColor(Color.rgb(MethodWriter.SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED, MethodWriter.SAME_FRAME_EXTENDED, MethodWriter.SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED));
PaintDrawable paintDrawable = new PaintDrawable(Color.rgb(MethodWriter.SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED, MethodWriter.SAME_FRAME_EXTENDED, MethodWriter.SAME_LOCALS_1_STACK_ITEM_FRAME_EXTENDED));
paintDrawable.setCornerRadius(f2);
relativeLayout.setBackgroundDrawable(paintDrawable);
return relativeLayout;
}
private void lite_try(String str, ld2 ld2Var, Object obj) {
PackageInfo packageInfo;
if (ya2.this.lite_char != null) {
Activity activity = (Activity) ya2.this.lite_char.get();
if (activity == null) {
ic2.lite_long("openSDK_LOG.AuthAgent", "showFeedConfrimDialog mActivity.get() null and return");
return;
}
Dialog dialog = new Dialog(activity);
dialog.requestWindowFeature(1);
PackageManager packageManager = activity.getPackageManager();
try {
packageInfo = packageManager.getPackageInfo(activity.getPackageName(), 0);
} catch (PackageManager.NameNotFoundException e) {
StringBuilder b2 = r5.b("showFeedConfrimDialog exception:");
b2.append(e.getStackTrace().toString());
ic2.lite_case("openSDK_LOG.AuthAgent", b2.toString());
packageInfo = null;
}
Drawable loadIcon = packageInfo != null ? packageInfo.applicationInfo.loadIcon(packageManager) : null;
View.OnClickListener aVar = new a(dialog, ld2Var, obj);
View.OnClickListener bVar = new b(dialog, ld2Var, obj);
ColorDrawable colorDrawable = new ColorDrawable();
colorDrawable.setAlpha(0);
dialog.getWindow().setBackgroundDrawable(colorDrawable);
dialog.setContentView(lite_int(activity, loadIcon, str, aVar, bVar));
dialog.setOnCancelListener(new DialogInterfaceOnCancelListenerC0119c(ld2Var, obj));
if (activity.isFinishing()) {
return;
}
dialog.show();
return;
}
ic2.lite_long("openSDK_LOG.AuthAgent", "showFeedConfrimDialog mActivity null and return");
}
@Override
public void lite_do(nd2 nd2Var) {
if (this.lite_do.get() != null) {
this.lite_do.get().lite_do(nd2Var);
}
}
@Override
public void lite_if(Object obj) {
String str;
if (obj != null) {
JSONObject jSONObject = (JSONObject) obj;
try {
r2 = jSONObject.getInt("sendinstall") == 1;
str = jSONObject.getString("installwording");
} catch (JSONException unused) {
ic2.lite_float("openSDK_LOG.AuthAgent", "FeedConfirmListener onComplete There is no value for sendinstall.");
str = "";
}
String decode = URLDecoder.decode(str);
ic2.lite_long("openSDK_LOG.AuthAgent", " WORDING = " + decode + "xx,showConfirmDialog=" + r2);
if (r2 && !TextUtils.isEmpty(decode)) {
lite_try(decode, this.lite_do.get(), obj);
ic2.lite_long("openSDK_LOG.AuthAgent", " WORDING is not empty and return");
} else {
if (this.lite_do.get() != null) {
if (ya2.this.lite_if != null) {
ya2.this.lite_if.lite_this(jSONObject);
}
this.lite_do.get().lite_if(obj);
return;
}
ic2.lite_long("openSDK_LOG.AuthAgent", " userListener is null");
}
}
}
public void lite_new() {
Activity activity;
Bundle lite_else = ya2.this.lite_else();
if (ya2.this.lite_char == null || (activity = (Activity) ya2.this.lite_char.get()) == null) {
return;
}
HttpUtils.lite_long(ya2.this.lite_if, activity, "https://appsupport.qq.com/cgi-bin/qzapps/mapp_addapp.cgi", lite_else, hb2.H, null);
}
@Override
public void onCancel() {
if (this.lite_do.get() != null) {
this.lite_do.get().onCancel();
}
}
}
public class d implements ld2 {
private final ld2 lite_do;
private final Context lite_for;
private final boolean lite_if;
public d(Context context, ld2 ld2Var, boolean z, boolean z2) {
this.lite_for = context;
this.lite_do = ld2Var;
this.lite_if = z;
ic2.lite_try("openSDK_LOG.AuthAgent", "OpenUi, TokenListener()");
}
@Override
public void lite_do(nd2 nd2Var) {
ic2.lite_try("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onError");
this.lite_do.lite_do(nd2Var);
ic2.lite_void();
}
@Override
public void lite_if(Object obj) {
ic2.lite_try("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete");
JSONObject jSONObject = (JSONObject) obj;
try {
String string = jSONObject.getString(hb2.lite_break);
String string2 = jSONObject.getString(hb2.lite_boolean);
String string3 = jSONObject.getString("openid");
if (string != null && ya2.this.lite_if != null && string3 != null) {
ya2.this.lite_if.lite_void(string, string2);
ya2.this.lite_if.lite_class(string3);
xa2.lite_new(this.lite_for, ya2.this.lite_if);
}
String string4 = jSONObject.getString(hb2.lite_return);
if (string4 != null) {
try {
this.lite_for.getSharedPreferences(hb2.lite_switch, 0).edit().putString(hb2.lite_return, string4).commit();
} catch (Exception e) {
e.printStackTrace();
ic2.lite_char("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete error", e);
}
}
if (this.lite_if) {
CookieSyncManager.getInstance().sync();
}
} catch (JSONException e2) {
e2.printStackTrace();
ic2.lite_char("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onComplete error", e2);
}
this.lite_do.lite_if(jSONObject);
ya2.this.lite_long();
ic2.lite_void();
}
@Override
public void onCancel() {
ic2.lite_try("openSDK_LOG.AuthAgent", "OpenUi, TokenListener() onCancel");
this.lite_do.onCancel();
ic2.lite_void();
}
}
static {
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
String str = Build.CPU_ABI;
if (str != null && !str.equals("")) {
if (str.equalsIgnoreCase("arm64-v8a")) {
lite_break = lite_this;
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
ic2.lite_long("openSDK_LOG.AuthAgent", "is arm64-v8a architecture");
return;
} else if (str.equalsIgnoreCase("x86")) {
lite_break = lite_else;
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
ic2.lite_long("openSDK_LOG.AuthAgent", "is x86 architecture");
return;
} else if (str.equalsIgnoreCase("x86_64")) {
lite_break = lite_goto;
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
ic2.lite_long("openSDK_LOG.AuthAgent", "is x86_64 architecture");
return;
} else {
lite_break = lite_long;
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
ic2.lite_long("openSDK_LOG.AuthAgent", "is arm(default) architecture");
return;
}
}
lite_break = lite_long;
lite_catch = r5.lite_volatile(new StringBuilder(), lite_break, ".so");
ic2.lite_long("openSDK_LOG.AuthAgent", "is arm(default) architecture");
}
public ya2(za2 za2Var) {
super(za2Var);
}
private String lite_break(Bundle bundle) {
String string = bundle.getString("status_os");
String string2 = bundle.getString("status_machine");
String string3 = bundle.getString("status_version");
String string4 = bundle.getString("sdkv");
String string5 = bundle.getString(hb2.lite_while);
String string6 = bundle.getString("need_pay");
String string7 = bundle.getString(hb2.lite_return);
StringBuilder j = r5.j("os=", string, ", machine=", string2, ", version=");
r5.L(j, string3, ", sdkv=", string4, ", appId=");
r5.L(j, string5, ", needPay=", string6, ", pf=");
j.append(string7);
ic2.lite_try("openSDK_LOG.AuthAgent", j.toString());
StringBuilder sb = new StringBuilder();
if (string == null) {
string = "";
}
sb.append(string);
if (string2 == null) {
string2 = "";
}
sb.append(string2);
if (string3 == null) {
string3 = "";
}
sb.append(string3);
if (string4 == null) {
string4 = "";
}
sb.append(string4);
if (string5 == null) {
string5 = "";
}
sb.append(string5);
if (string6 == null) {
string6 = "";
}
sb.append(string6);
if (string7 == null) {
string7 = "";
}
sb.append(string7);
return sb.toString();
}
private boolean lite_const(Activity activity, Fragment fragment, boolean z) {
ic2.lite_long("openSDK_LOG.AuthAgent", "startActionActivity() -- start");
Intent lite_char = lite_char("com.tencent.open.agent.AgentActivity");
if (lite_char != null) {
Bundle lite_if = lite_if();
if (z) {
lite_if.putString("isadd", "1");
}
lite_if.putString(hb2.lite_throws, this.lite_case);
lite_if.putString(hb2.lite_while, this.lite_if.lite_new());
if (gb2.lite_try) {
StringBuilder b2 = r5.b("desktop_m_qq-");
r5.L(b2, gb2.lite_int, ue2.lite_final, "android", ue2.lite_final);
b2.append(gb2.lite_for);
b2.append(ue2.lite_final);
b2.append(gb2.lite_new);
lite_if.putString(hb2.lite_return, b2.toString());
} else {
lite_if.putString(hb2.lite_return, hb2.lite_short);
}
lite_if.putString("need_pay", "1");
lite_if.putString(hb2.R, ad2.lite_try(xc2.lite_do()));
lite_char.putExtra(hb2.M, "action_login");
lite_char.putExtra(hb2.L, lite_if);
lite_char.putExtra("appid", this.lite_if.lite_new());
lite_if.putString(hb2.D1, ad2.lite_new(activity, lite_break(lite_if)));
if (lite_case(lite_char)) {
this.lite_byte = new c(this.lite_byte);
ib2.lite_if().lite_byte(hb2.d0, this.lite_byte);
if (fragment != null) {
ic2.lite_try("openSDK_LOG.AuthAgent", "startAssitActivity fragment");
lite_byte(fragment, lite_char, hb2.d0);
} else {
ic2.lite_try("openSDK_LOG.AuthAgent", "startAssitActivity activity");
lite_new(activity, lite_char, hb2.d0);
}
ic2.lite_long("openSDK_LOG.AuthAgent", "startActionActivity() -- end, found activity for loginIntent");
bc2.lite_do().lite_if(0, "LOGIN_CHECK_SDK", hb2.lite_do, this.lite_if.lite_new(), "", Long.valueOf(SystemClock.elapsedRealtime()), 0, 1, "");
return true;
}
}
bc2.lite_do().lite_if(1, "LOGIN_CHECK_SDK", hb2.lite_do, this.lite_if.lite_new(), "", Long.valueOf(SystemClock.elapsedRealtime()), 0, 1, "startActionActivity fail");
ic2.lite_long("openSDK_LOG.AuthAgent", "startActionActivity() -- end, no target activity for loginIntent");
return false;
}
private int lite_this(boolean z, ld2 ld2Var, boolean z2) {
ic2.lite_long("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- start");
CookieSyncManager.createInstance(xc2.lite_do());
Bundle lite_if = lite_if();
if (z) {
lite_if.putString("isadd", "1");
}
lite_if.putString(hb2.lite_throws, this.lite_case);
lite_if.putString(hb2.lite_while, this.lite_if.lite_new());
if (gb2.lite_try) {
StringBuilder b2 = r5.b("desktop_m_qq-");
r5.L(b2, gb2.lite_int, ue2.lite_final, "android", ue2.lite_final);
b2.append(gb2.lite_for);
b2.append(ue2.lite_final);
b2.append(gb2.lite_new);
lite_if.putString(hb2.lite_return, b2.toString());
} else {
lite_if.putString(hb2.lite_return, hb2.lite_short);
}
String str = (System.currentTimeMillis() / 1000) + "";
lite_if.putString("sign", ad2.lite_long(xc2.lite_do(), str));
lite_if.putString("time", str);
lite_if.putString("display", "mobile");
lite_if.putString("response_type", "token");
lite_if.putString("redirect_uri", "auth://tauth.qq.com/");
lite_if.putString("cancel_display", "1");
lite_if.putString("switch", "1");
lite_if.putString("status_userip", dd2.lite_byte());
if (z2) {
lite_if.putString("style", "qr");
}
String str2 = zc2.lite_do().lite_if(xc2.lite_do(), "https://openmobile.qq.com/oauth2.0/m_authorize?") + HttpUtils.lite_try(lite_if);
d dVar = new d(xc2.lite_do(), ld2Var, true, false);
ic2.lite_try("openSDK_LOG.AuthAgent", "OpenUi, showDialog TDialog");
bd2.lite_if(new a(str2, dVar));
ic2.lite_long("openSDK_LOG.AuthAgent", "OpenUi, showDialog -- end");
return 2;
}
public void lite_class(ld2 ld2Var) {
String str;
ic2.lite_long("openSDK_LOG.AuthAgent", "reportDAU() -- start");
String lite_int = this.lite_if.lite_int();
String lite_case = this.lite_if.lite_case();
String lite_new = this.lite_if.lite_new();
if (TextUtils.isEmpty(lite_int) || TextUtils.isEmpty(lite_case) || TextUtils.isEmpty(lite_new)) {
str = "";
} else {
str = dd2.lite_private("tencent&sdk&qazxc***14969%%" + lite_int + lite_new + lite_case + "qzone3.4");
}
if (TextUtils.isEmpty(str)) {
ic2.lite_case("openSDK_LOG.AuthAgent", "reportDAU -- encrytoken is null");
return;
}
Bundle lite_if = lite_if();
lite_if.putString("encrytoken", str);
HttpUtils.lite_long(this.lite_if, xc2.lite_do(), "https://openmobile.qq.com/user/user_login_statis", lite_if, hb2.H, null);
ic2.lite_long("openSDK_LOG.AuthAgent", "reportDAU() -- end");
}
public int lite_double(Activity activity, String str, ld2 ld2Var, boolean z, Fragment fragment, boolean z2) {
this.lite_case = str;
this.lite_char = new WeakReference<>(activity);
this.lite_byte = ld2Var;
if (!activity.getIntent().getBooleanExtra(lite_void, false) && !yc2.lite_int(activity, this.lite_if.lite_new()).lite_else("C_LoginWeb") && lite_const(activity, fragment, z)) {
ic2.lite_long("openSDK_LOG.AuthAgent", "OpenUi, showUi, return Constants.UI_ACTIVITY");
bc2.lite_do().lite_int(this.lite_if.lite_case(), this.lite_if.lite_new(), "2", "1", "5", "0", "0", "0");
return 1;
}
bc2.lite_do().lite_int(this.lite_if.lite_case(), this.lite_if.lite_new(), "2", "1", "5", "1", "0", "0");
ic2.lite_float("openSDK_LOG.AuthAgent", "doLogin startActivity fail show dialog.");
c cVar = new c(this.lite_byte);
this.lite_byte = cVar;
return lite_this(z, cVar, z2);
}
public void lite_float(ld2 ld2Var) {
Bundle lite_if = lite_if();
lite_if.putString("reqType", "checkLogin");
HttpUtils.lite_long(this.lite_if, xc2.lite_do(), "https://openmobile.qq.com/v3/user/get_info", lite_if, hb2.G, new gb2.a(new b(ld2Var)));
}
@Override
public void lite_long() {
this.lite_byte = null;
}
public int lite_throw(Activity activity, String str, ld2 ld2Var) {
return lite_while(activity, str, ld2Var, false, null);
}
public int lite_while(Activity activity, String str, ld2 ld2Var, boolean z, Fragment fragment) {
return lite_double(activity, str, ld2Var, z, fragment, false);
}
}