Dynamic Spot Pro v1.0版本的 MD5 值为:5adb64d1f11ed2f16f84b684ff810780
以下内容为反编译后的 b.java 源代码,内容仅作参考
package a.f.a.d.a.a;
import android.net.Uri;
import android.util.Log;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.Map;
public final class b extends Thread {
public final Map f1902e;
public b(Map map) {
this.f1902e = map;
}
@Override
public final void run() {
String message;
StringBuilder sb;
String str;
Exception exc;
Map map = this.f1902e;
Uri.Builder buildUpon = Uri.parse("https://pagead2.googlesyndication.com/pagead/gen_204?id=gmob-apps").buildUpon();
for (String str2 : map.keySet()) {
buildUpon.appendQueryParameter(str2, (String) map.get(str2));
}
String uri = buildUpon.build().toString();
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) new URL(uri).openConnection();
try {
int responseCode = httpURLConnection.getResponseCode();
if (responseCode < 200 || responseCode >= 300) {
StringBuilder sb2 = new StringBuilder(String.valueOf(uri).length() + 65);
sb2.append("Received non-success response code ");
sb2.append(responseCode);
sb2.append(" from pinging URL: ");
sb2.append(uri);
Log.w("HttpUrlPinger", sb2.toString());
}
} finally {
httpURLConnection.disconnect();
}
} catch (IOException e2) {
e = e2;
message = e.getMessage();
sb = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 27);
str = "Error while pinging URL: ";
exc = e;
sb.append(str);
sb.append(uri);
sb.append(". ");
sb.append(message);
Log.w("HttpUrlPinger", sb.toString(), exc);
} catch (IndexOutOfBoundsException e3) {
message = e3.getMessage();
sb = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 32);
str = "Error while parsing ping URL: ";
exc = e3;
sb.append(str);
sb.append(uri);
sb.append(". ");
sb.append(message);
Log.w("HttpUrlPinger", sb.toString(), exc);
} catch (RuntimeException e4) {
e = e4;
message = e.getMessage();
sb = new StringBuilder(String.valueOf(message).length() + String.valueOf(uri).length() + 27);
str = "Error while pinging URL: ";
exc = e;
sb.append(str);
sb.append(uri);
sb.append(". ");
sb.append(message);
Log.w("HttpUrlPinger", sb.toString(), exc);
}
}
}