JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62
以下内容为反编译后的 Ll1lLl1l1LL1l1Ll.java 源代码,内容仅作参考
package l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.l1l1l1l1LL1L1l1lL1l;
import android.os.Build;
import android.os.Handler;
import android.os.HandlerThread;
import android.provider.Settings;
import android.telephony.TelephonyManager;
import android.text.TextUtils;
import com.anythink.expressad.video.bt.module.ATTempContainer;
import com.google.gson.Gson;
import com.jiejing.clean.channel.Result;
import com.umeng.commonsdk.statistics.idtracking.b;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.HashMap;
import l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll.l1L1L1L1L1l1LLL1LL1ll;
import org.litepal.LitePalApplication;
public class Ll1lLl1l1LL1l1Ll {
public static Ll1lLl1l1LL1l1Ll L1Lll1lll1llL;
public String L1L1LL1L1Lll1l1L;
public Handler f5150L1L1l1lL1l1l1Ll11L;
public l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.l1l1l1l1LL1L1l1lL1l.l1l1l1l1LL1L1l1lL1l f5151L1LLLll1llLLl;
public String f5153Ll1l1L1L1L1l1L1l;
public Handler f5155l1L1L1L1L1l1LLL1LL1ll;
public long f5156l1Ll1llLLl1ll1l1l1l1l1l;
public Handler f5158lilil1liLi1lLL1l1l;
public boolean f5152L1LllLll1ll1LLll1 = false;
public boolean L1Ll1ll1L1L1ll1l = false;
public int l1llL1Ll1lL1Ll = 0;
public int L1Lll1lll1LlL1L11l = 0;
public HandlerThread f5154Ll1lLl1l1LL1l1Ll = new HandlerThread("request");
public HandlerThread f5157l1l1l1l1LL1L1l1lL1l = new HandlerThread("check");
public HandlerThread f5149L1L1L1Ll1l1L1l1l11L = new HandlerThread("retry");
public class RunnableC0286Ll1lLl1l1LL1l1Ll implements Runnable {
public RunnableC0286Ll1lLl1l1LL1l1Ll() {
}
@Override
public void run() {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "checkrunnable run");
if (!Ll1lLl1l1LL1l1Ll.this.f5152L1LllLll1ll1LLll1) {
long currentTimeMillis = System.currentTimeMillis();
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll = Ll1lLl1l1LL1l1Ll.this;
if (currentTimeMillis - ll1lLl1l1LL1l1Ll.f5156l1Ll1llLLl1ll1l1l1l1l1l < ATTempContainer.S) {
ll1lLl1l1LL1l1Ll.f5155l1L1L1L1L1l1LLL1LL1ll.postDelayed(this, 100L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "checkhandler post checkrunnable again");
return;
}
}
if (!Ll1lLl1l1LL1l1Ll.this.f5152L1LllLll1ll1LLll1) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_first_timeout", null);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "buychannel_first_timeout");
}
if (Ll1lLl1l1LL1l1Ll.this.f5151L1LLLll1llLLl != null) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "mListener.onFinished()");
Ll1lLl1l1LL1l1Ll.this.f5151L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll();
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_onfinished", null);
}
if (TextUtils.isEmpty(Ll1lLl1l1LL1l1Ll.this.f5153Ll1l1L1L1L1l1L1l)) {
Ll1lLl1l1LL1l1Ll.this.f5149L1L1L1Ll1l1L1l1l11L.start();
Ll1lLl1l1LL1l1Ll.this.f5150L1L1l1lL1l1l1Ll11L = new Handler(Ll1lLl1l1LL1l1Ll.this.f5149L1L1L1Ll1l1L1l1l11L.getLooper());
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll2 = Ll1lLl1l1LL1l1Ll.this;
ll1lLl1l1LL1l1Ll2.f5150L1L1l1lL1l1l1Ll11L.postDelayed(new l1l1l1l1LL1L1l1lL1l(), 40000L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "retryhandler post retryRunnable first");
} else {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_startup_success", null);
}
Ll1lLl1l1LL1l1Ll.this.f5157l1l1l1l1LL1L1l1lL1l.quit();
}
}
public class l1l1l1l1LL1L1l1lL1l implements Runnable {
public l1l1l1l1LL1L1l1lL1l() {
}
@Override
public void run() {
if (TextUtils.isEmpty(Ll1lLl1l1LL1l1Ll.this.f5153Ll1l1L1L1L1l1L1l)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_retry", null);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "retryhandler run requestbuychannel");
Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll.this);
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll = Ll1lLl1l1LL1l1Ll.this;
Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(ll1lLl1l1LL1l1Ll, ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll2 = Ll1lLl1l1LL1l1Ll.this;
if (!ll1lLl1l1LL1l1Ll2.L1Ll1ll1L1L1ll1l && ll1lLl1l1LL1l1Ll2.L1Lll1lll1LlL1L11l < 20) {
ll1lLl1l1LL1l1Ll2.f5150L1L1l1lL1l1l1Ll11L.postDelayed(this, 180000L);
return;
} else {
Ll1lLl1l1LL1l1Ll.this.f5149L1L1L1Ll1l1L1l1l11L.quit();
return;
}
}
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_retry_success", null);
Ll1lLl1l1LL1l1Ll.this.f5149L1L1L1Ll1l1L1l1l11L.quit();
}
}
public class lilil1liLi1lLL1l1l implements Runnable {
public lilil1liLi1lLL1l1l() {
}
@Override
public void run() {
StringBuilder Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("handler run requestbuychannel: ");
Ll1lLl1l1LL1l1Ll2.append(Ll1lLl1l1LL1l1Ll.this.l1llL1Ll1lL1Ll);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll2.toString());
Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll.this);
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll = Ll1lLl1l1LL1l1Ll.this;
Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(ll1lLl1l1LL1l1Ll, ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
if (!TextUtils.isEmpty(Ll1lLl1l1LL1l1Ll.this.f5153Ll1l1L1L1L1l1L1l)) {
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll2 = Ll1lLl1l1LL1l1Ll.this;
ll1lLl1l1LL1l1Ll2.f5152L1LllLll1ll1LLll1 = true;
ll1lLl1l1LL1l1Ll2.f5154Ll1lLl1l1LL1l1Ll.quit();
return;
}
Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll3 = Ll1lLl1l1LL1l1Ll.this;
int i2 = ll1lLl1l1LL1l1Ll3.l1llL1Ll1lL1Ll + 1;
ll1lLl1l1LL1l1Ll3.l1llL1Ll1lL1Ll = i2;
if (i2 < 3) {
ll1lLl1l1LL1l1Ll3.f5158lilil1liLi1lLL1l1l.postDelayed(this, 1500L);
return;
}
ll1lLl1l1LL1l1Ll3.f5152L1LllLll1ll1LLll1 = true;
ll1lLl1l1LL1l1Ll3.f5154Ll1lLl1l1LL1l1Ll.quit();
}
}
public void Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.l1l1l1l1LL1L1l1lL1l.l1l1l1l1LL1L1l1lL1l l1l1l1l1ll1l1l1ll1l) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request_buychannel", null);
this.f5151L1LLLll1llLLl = l1l1l1l1ll1l1l1ll1l;
this.f5154Ll1lLl1l1LL1l1Ll.start();
Handler handler = new Handler(this.f5154Ll1lLl1l1LL1l1Ll.getLooper());
this.f5158lilil1liLi1lLL1l1l = handler;
handler.postDelayed(new lilil1liLi1lLL1l1l(), 2000L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requeshandler post requestbuychannel");
this.f5156l1Ll1llLLl1ll1l1l1l1l1l = System.currentTimeMillis() + 2000;
this.f5157l1l1l1l1LL1L1l1lL1l.start();
Handler handler2 = new Handler(this.f5157l1l1l1l1LL1L1l1lL1l.getLooper());
this.f5155l1L1L1L1L1l1LLL1LL1ll = handler2;
handler2.postDelayed(new RunnableC0286Ll1lLl1l1LL1l1Ll(), 2100L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "checkhandler post checkrunnable");
}
public static void Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll) {
StringBuilder sb;
?? r1;
InputStreamReader inputStreamReader;
Exception e;
InputStreamReader inputStreamReader2;
String str;
InputStream errorStream;
BufferedReader bufferedReader;
StringBuffer stringBuffer;
String readLine;
String str2;
String str3;
HttpURLConnection httpURLConnection = null;
if (ll1lLl1l1LL1l1Ll == null) {
throw null;
}
StringBuilder sb2 = new StringBuilder("http://uri6.com/tkio/attributionquery?");
sb2.append("os=android");
sb2.append("&appkey=0648e801bdafcda7d5b37ffe06b8c175");
String str4 = "requestBuyChannel failed: oaid is all zero";
boolean z = false;
if (Build.VERSION.SDK_INT < 29) {
if (!TextUtils.isEmpty(l1L1L1L1L1l1LLL1LL1ll.f4846lilil1liLi1lLL1l1l)) {
str3 = l1L1L1L1L1l1LLL1LL1ll.f4846lilil1liLi1lLL1l1l;
} else {
try {
String deviceId = ((TelephonyManager) LitePalApplication.getContext().getSystemService("phone")).getDeviceId();
if (!TextUtils.isEmpty(deviceId)) {
l1L1L1L1L1l1LLL1LL1ll.f4846lilil1liLi1lLL1l1l = deviceId;
}
str3 = l1L1L1L1L1l1LLL1LL1ll.f4846lilil1liLi1lLL1l1l;
} catch (Exception e2) {
e2.printStackTrace();
str3 = "";
}
}
if (TextUtils.isEmpty(str3)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: imei is null");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("imei_is_null", null);
String l1l1l1l1LL1L1l1lL1l2 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l();
if (TextUtils.isEmpty(l1l1l1l1LL1L1l1lL1l2)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: oaid is null");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_is_null_9", null);
} else if (l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1l1l1l1LL1L1l1lL1l2)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: oaid is all zero");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_is_zero_9", null);
} else {
StringBuilder Ll1lLl1l1LL1l1Ll2 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("&oaid=");
Ll1lLl1l1LL1l1Ll2.append(l1l1l1l1LL1L1l1lL1l2.toUpperCase());
sb2.append(Ll1lLl1l1LL1l1Ll2.toString());
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_get_success_9", null);
sb = Ll1lLl1l1LL1l1Ll2;
}
z = true;
sb = str4;
} else {
StringBuilder sb3 = new StringBuilder();
sb3.append("&imei=");
sb3.append(str3);
sb2.append(sb3.toString());
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("imei_get_success", null);
sb = sb3;
}
if (z) {
if (!TextUtils.isEmpty(l1L1L1L1L1l1LLL1LL1ll.f4845l1l1l1l1LL1L1l1lL1l)) {
str2 = l1L1L1L1L1l1LLL1LL1ll.f4845l1l1l1l1LL1L1l1lL1l;
} else {
try {
l1L1L1L1L1l1LLL1LL1ll.f4845l1l1l1l1LL1L1l1lL1l = Settings.System.getString(LitePalApplication.getContext().getContentResolver(), b.a);
} catch (Exception unused) {
}
str2 = l1L1L1L1L1l1LLL1LL1ll.f4845l1l1l1l1LL1L1l1lL1l;
}
if (TextUtils.isEmpty(str2)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: androidid is null");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("androidid_is_null", null);
return;
}
sb = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("&imei=");
sb.append(str2.toUpperCase());
sb2.append(sb.toString());
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("androidid_get_success", null);
}
ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L = sb2.toString();
StringBuilder Ll1lLl1l1LL1l1Ll3 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("handler run requestbuychannel: ");
Ll1lLl1l1LL1l1Ll3.append(ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll3.toString());
r1 = ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L;
try {
try {
r1 = (HttpURLConnection) new URL(r1).openConnection();
} catch (Throwable th) {
th = th;
}
try {
r1.setConnectTimeout(20000);
if (r1.getResponseCode() == 200) {
errorStream = r1.getInputStream();
} else {
errorStream = r1.getErrorStream();
}
inputStreamReader2 = new InputStreamReader(errorStream);
try {
bufferedReader = new BufferedReader(inputStreamReader2);
stringBuffer = new StringBuffer();
while (true) {
readLine = bufferedReader.readLine();
if (readLine == null) {
break;
}
stringBuffer.append(readLine);
}
str = stringBuffer.toString();
r1.disconnect();
try {
inputStreamReader2.close();
} catch (IOException e3) {
e = e3;
e.printStackTrace();
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll4 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll4.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll4.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
}
}
} catch (Exception e4) {
e = e4;
e.printStackTrace();
if (r1 != 0) {
r1.disconnect();
}
if (inputStreamReader2 != null) {
try {
inputStreamReader2.close();
} catch (IOException e5) {
e = e5;
str = null;
e.printStackTrace();
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll42 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll42.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll42.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
}
}
}
str = null;
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll422 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll422.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll422.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
}
}
} catch (Exception e6) {
e = e6;
inputStreamReader2 = null;
} catch (Throwable th2) {
th = th2;
sb = 0;
httpURLConnection = r1;
inputStreamReader = sb;
if (httpURLConnection != null) {
httpURLConnection.disconnect();
}
if (inputStreamReader != null) {
try {
inputStreamReader.close();
} catch (IOException e7) {
e7.printStackTrace();
}
}
throw th;
}
} catch (Exception e8) {
e = e8;
r1 = 0;
inputStreamReader2 = null;
} catch (Throwable th3) {
th = th3;
inputStreamReader = null;
if (httpURLConnection != null) {
}
if (inputStreamReader != null) {
}
throw th;
}
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll4222 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll4222.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll4222.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_httprequest_failed", null);
return;
} else {
ll1lLl1l1LL1l1Ll.L1Lll1lll1LlL1L11l++;
return;
}
}
String l1l1l1l1LL1L1l1lL1l3 = l1L1L1L1L1l1LLL1LL1ll.l1l1l1l1LL1L1l1lL1l();
if (TextUtils.isEmpty(l1l1l1l1LL1L1l1lL1l3)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: oaid is null");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_is_null", null);
} else if (l1L1L1L1L1l1LLL1LL1ll.Ll1lLl1l1LL1l1Ll(l1l1l1l1LL1L1l1lL1l3)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "requestBuyChannel failed: oaid is all zero");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_is_zero", null);
} else {
StringBuilder Ll1lLl1l1LL1l1Ll5 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("&oaid=");
Ll1lLl1l1LL1l1Ll5.append(l1l1l1l1LL1L1l1lL1l3.toUpperCase());
sb2.append(Ll1lLl1l1LL1l1Ll5.toString());
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("oaid_get_success", null);
sb = Ll1lLl1l1LL1l1Ll5;
if (z) {
}
ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L = sb2.toString();
StringBuilder Ll1lLl1l1LL1l1Ll32 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("handler run requestbuychannel: ");
Ll1lLl1l1LL1l1Ll32.append(ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll32.toString());
r1 = ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L;
r1 = (HttpURLConnection) new URL(r1).openConnection();
r1.setConnectTimeout(20000);
if (r1.getResponseCode() == 200) {
}
inputStreamReader2 = new InputStreamReader(errorStream);
bufferedReader = new BufferedReader(inputStreamReader2);
stringBuffer = new StringBuffer();
while (true) {
readLine = bufferedReader.readLine();
if (readLine == null) {
}
stringBuffer.append(readLine);
}
str = stringBuffer.toString();
r1.disconnect();
inputStreamReader2.close();
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll42222 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll42222.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll42222.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
}
}
z = true;
sb = str4;
if (z) {
}
ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L = sb2.toString();
StringBuilder Ll1lLl1l1LL1l1Ll322 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("handler run requestbuychannel: ");
Ll1lLl1l1LL1l1Ll322.append(ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll322.toString());
r1 = ll1lLl1l1LL1l1Ll.L1L1LL1L1Lll1l1L;
r1 = (HttpURLConnection) new URL(r1).openConnection();
r1.setConnectTimeout(20000);
if (r1.getResponseCode() == 200) {
}
inputStreamReader2 = new InputStreamReader(errorStream);
bufferedReader = new BufferedReader(inputStreamReader2);
stringBuffer = new StringBuffer();
while (true) {
readLine = bufferedReader.readLine();
if (readLine == null) {
}
stringBuffer.append(readLine);
}
str = stringBuffer.toString();
r1.disconnect();
inputStreamReader2.close();
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = str;
StringBuilder Ll1lLl1l1LL1l1Ll422222 = l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("request result: ");
Ll1lLl1l1LL1l1Ll422222.append(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", Ll1lLl1l1LL1l1Ll422222.toString());
if (!TextUtils.isEmpty(ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l)) {
}
}
public static void Ll1lLl1l1LL1l1Ll(Ll1lLl1l1LL1l1Ll ll1lLl1l1LL1l1Ll, String str) {
if (ll1lLl1l1LL1l1Ll != null) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", "processResult: " + str);
if (TextUtils.isEmpty(str)) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_null", null);
return;
}
Gson gson = new Gson();
new Result();
Result result = (Result) gson.fromJson(str, (Class<Object>) Result.class);
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("BuyChannelManager", result.toString());
if (result.getInfo() != null && !TextUtils.isEmpty(result.getInfo().getResult())) {
String result2 = result.getInfo().getResult();
if (result2.equals("organic")) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll.lilil1liLi1lLL1l1l.lilil1liLi1lLL1l1l("organic");
HashMap hashMap = new HashMap();
hashMap.put("time", ((int) ((System.currentTimeMillis() - ll1lLl1l1LL1l1Ll.f5156l1Ll1llLLl1ll1l1l1l1l1l) / 1000)) + "");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_organic", hashMap);
return;
} else if (result2.equals("non_organic")) {
String spreadname = result.getInfo().getSpreadname();
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll.lilil1liLi1lLL1l1l.lilil1liLi1lLL1l1l(spreadname);
if ("Mintegral".equals(result.getInfo().getChannel())) {
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll.lilil1liLi1lLL1l1l.f4849Ll1lLl1l1LL1l1Ll.edit().putString("campuuid", result.getInfo().getCampuuid()).apply();
l1L1L1L1L1l1LLL1LL1ll.lilil1liLi1lLL1l1l.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll(l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Ll1ll1Ll1lL1Ll1ll.lilil1liLi1lLL1l1l.f4849Ll1lLl1l1LL1l1Ll, "clickid", result.getInfo().getClickid());
}
HashMap hashMap2 = new HashMap();
hashMap2.put("spreadname", spreadname);
hashMap2.put("time", ((int) ((System.currentTimeMillis() - ll1lLl1l1LL1l1Ll.f5156l1Ll1llLLl1ll1l1l1l1l1l) / 1000)) + "");
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_non_organic", hashMap2);
return;
} else if (result2.equals("null")) {
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = null;
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_null_404", null);
return;
} else if (result2.equals("request_error")) {
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = null;
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_req_error", null);
return;
} else if (result2.equals("system_error")) {
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = null;
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_sys_errror", null);
return;
} else if (result2.equals("frequency_capping")) {
ll1lLl1l1LL1l1Ll.L1Ll1ll1L1L1ll1l = true;
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_result_freq_cap", null);
return;
} else {
return;
}
}
ll1lLl1l1LL1l1Ll.f5153Ll1l1L1L1L1l1L1l = null;
l1L1L1L1L1l1LLL1LL1ll.L1LLLll1llLLl.Ll1lLl1l1LL1l1Ll.L1Lll1llL1Ll1ll.Ll1lLl1l1LL1l1Ll.Ll1lLl1l1LL1l1Ll("buychannel_json_null", null);
return;
}
throw null;
}
}