Wolves Themes v1.0版本的 MD5 值为:cddc92b47f6b7c4a195c9625507eb51c
以下内容为反编译后的 LogsSender.java 源代码,内容仅作参考
package com.ironsource.mediationsdk.logger;
import com.ironsource.mediationsdk.sdk.GeneralProperties;
import com.ironsource.mediationsdk.server.HttpFunctions;
import java.util.ArrayList;
import java.util.Iterator;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
class LogsSender implements Runnable {
private ArrayList<ServerLogEntry> mLogs;
private final String LOG_URL = "https://mobilelogs.supersonic.com";
private final String AUTHO_USERNAME = "mobilelogs";
private final String AUTHO_PASSWORD = "k@r@puz";
public LogsSender(ArrayList<ServerLogEntry> logs) {
this.mLogs = logs;
}
private JSONObject getJSONToSend() {
JSONObject logContent = new JSONObject();
try {
logContent.put("general_properties", GeneralProperties.getProperties().toJSON());
JSONArray logData = new JSONArray();
Iterator<ServerLogEntry> it = this.mLogs.iterator();
while (it.hasNext()) {
ServerLogEntry log = it.next();
logData.put(log.toJSON());
}
logContent.put("log_data", logData);
} catch (JSONException e) {
e.printStackTrace();
}
return logContent;
}
private void sendLogs(JSONObject logContent) {
HttpFunctions.getStringFromPostWithAutho("https://mobilelogs.supersonic.com", logContent.toString(), "mobilelogs", "k@r@puz");
}
@Override
public void run() {
}
}