OurPlay v5.5.9版本的 MD5 值为:d4e139798f4c2243a1145c8af5e21046
以下内容为反编译后的 a.java 源代码,内容仅作参考
package com.excelliance.user.account.e.c;
import android.content.Context;
import android.os.Handler;
import android.os.HandlerThread;
import android.util.Log;
import androidx.work.WorkRequest;
import com.excelliance.kxqp.gs.thpool.tp;
import com.excelliance.kxqp.gs.util.by;
import com.excelliance.user.account.b;
import com.excelliance.user.account.data.ResponseData;
import com.excelliance.user.account.f.g;
import org.json.JSONObject;
import retrofit2.m;
public class a implements b.a {
private Handler f15465a;
@Override
public void a() {
}
public a() {
HandlerThread handlerThread = new HandlerThread("PresenterActivityLogin", 10);
handlerThread.start();
this.f15465a = new Handler(handlerThread.getLooper());
}
public void b() {
this.f15465a.getLooper().quit();
}
public void a(final Context context, final g.a aVar) {
this.f15465a.post(new Runnable() {
@Override
public void run() {
try {
m<ResponseData<String>> a2 = com.excelliance.user.account.d.a.a().a(context, WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS, WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS, "https://gapi.ourplay.com.cn/").a().a();
if (a2.c() && a2.d() != null && new JSONObject(com.excelliance.kxqp.gs.util.c.a(a2.d().data, "fuck_snsslmm_bslznw", "utf-8")).optInt("status", 0) == 1) {
tp.i(new Runnable() {
@Override
public void run() {
by.a(context, "sp_key_free_pwd_login_status").a("sp_key_free_pwd_login_status", true);
aVar.a();
}
});
return;
}
} catch (Exception e) {
Log.d("PresenterActivityLogin", "run: " + e.toString());
e.printStackTrace();
tp.i(new Runnable() {
@Override
public void run() {
by.a(context, "sp_key_free_pwd_login_status").a("sp_key_free_pwd_login_status", false);
aVar.b();
}
});
}
tp.i(new Runnable() {
@Override
public void run() {
by.a(context, "sp_key_free_pwd_login_status").a("sp_key_free_pwd_login_status", false);
aVar.b();
}
});
}
});
}
}