MT Manager v2.15.3版本的 MD5 值为:1cbd6ee7afdac97645dd3a8c4751ecf0
以下内容为反编译后的 RunnableC5937.java 源代码,内容仅作参考
package l;
import android.os.SystemClock;
import java.io.IOException;
import java.net.SocketTimeoutException;
import java.util.HashMap;
import org.json.JSONException;
import org.json.JSONObject;
public final class RunnableC5937 implements Runnable {
public final C4251 f19114;
@Override
public final void run() {
long j;
long j2;
long j3;
InterfaceC8418 m23147;
JSONObject m18574;
C4251 c4251 = this.f19114;
try {
HashMap m11214 = c4251.m11214();
if (m11214 == null) {
return;
}
C14358.m30095("openSDK_LOG.ReportManager", "-->doReportVia, params: " + m11214.toString());
int m14960 = C5984.m14954(C11739.m25896(), (String) null).m14960("Common_HttpRetryCount");
int i = m14960 == 0 ? 2 : m14960;
long elapsedRealtime = SystemClock.elapsedRealtime();
int i2 = 0;
int i3 = 0;
while (true) {
int i4 = i2 + 1;
try {
try {
m23147 = C10102.m23145().m23147("https://appsupport.qq.com/cgi-bin/appstage/mstats_batch_report", m11214);
C14358.m30098("openSDK_LOG.ReportManager", "-->reportVia: statusCode " + m23147.d());
m18574 = C7669.m18574(m23147.a());
j2 = (long) m23147.c();
j3 = (long) m23147.b();
} catch (JSONException unused) {
j = 0;
i3 = -4;
j2 = j;
j3 = j2;
i2 = i4;
if (i2 >= i) {
}
}
} catch (SocketTimeoutException unused2) {
j = 0;
elapsedRealtime = SystemClock.elapsedRealtime();
i3 = -8;
j2 = j;
j3 = j2;
i2 = i4;
if (i2 >= i) {
}
} catch (IOException e) {
i3 = C7529.m18377(e);
j = 0;
j2 = j;
j3 = j2;
i2 = i4;
if (i2 >= i) {
}
} catch (Exception unused3) {
j = 0;
i3 = -6;
i4 = i;
j2 = j;
j3 = j2;
i2 = i4;
if (i2 >= i) {
}
}
if (m23147.d() != 200) {
i3 = m23147.d();
break;
}
try {
if (m18574.getInt("ret") == 0) {
break;
}
} catch (JSONException unused4) {
}
if (j3 != 0) {
break;
}
i2 = i4;
if (i2 >= i) {
break;
}
}
boolean z = false;
int i5 = i3;
c4251.getClass();
C4251.m11210("mapp_apptrace_sdk", elapsedRealtime, j2, j3, i5, null);
c4251.f12397.clear();
C14358.m30098("openSDK_LOG.ReportManager", "-->doReportVia, uploadSuccess: " + z + " resultCode: " + i5);
} catch (Exception e2) {
C14358.m30096("openSDK_LOG.ReportManager", "-->doReportVia, exception in serial executor.", e2);
}
}
public RunnableC5937(C4251 c4251) {
this.f19114 = c4251;
}
}