JieJing Cleaner v1.4.2版本的 MD5 值为:a574eea9fb07160f0bbb08ba0adf1c62
以下内容为反编译后的 aa.java 源代码,内容仅作参考
package com.reyun.tracking.utils;
import android.content.Context;
import com.baidu.mobads.sdk.internal.ae;
import com.reyun.tracking.sdk.Tracking;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import org.json.JSONObject;
public class aa implements Runnable {
public final y a;
public aa(y yVar) {
this.a = yVar;
}
@Override
public void run() {
Context context;
try {
StringBuilder sb = new StringBuilder();
sb.append("https://uri6.com/tkio/attributionquery?os=android&appkey=");
sb.append(Tracking.getAppId());
sb.append("&imei=");
context = this.a.a;
sb.append(com.reyun.tracking.a.a.b(context).toUpperCase());
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(sb.toString()).openConnection();
httpURLConnection.setConnectTimeout(5000);
httpURLConnection.setReadTimeout(5000);
httpURLConnection.setRequestMethod(ae.c);
httpURLConnection.connect();
int responseCode = httpURLConnection.getResponseCode();
IAttributionQueryListener attributionQueryListener = Tracking.getAttributionQueryListener();
if (responseCode != 200) {
if (attributionQueryListener != null) {
attributionQueryListener.onComplete(responseCode, null);
return;
}
return;
}
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(httpURLConnection.getInputStream()));
StringBuilder sb2 = new StringBuilder();
while (true) {
String readLine = bufferedReader.readLine();
if (readLine == null) {
break;
}
sb2.append(readLine);
}
JSONObject jSONObject = new JSONObject(sb2.toString());
if (attributionQueryListener != null) {
attributionQueryListener.onComplete(responseCode, jSONObject.toString());
}
} catch (Exception e) {
e.printStackTrace();
}
}
}