|
|
|
@ -10,7 +10,6 @@ import android.os.PowerManager;
|
|
|
|
|
import android.os.SystemClock;
|
|
|
|
|
import android.telephony.TelephonyManager;
|
|
|
|
|
import android.text.TextUtils;
|
|
|
|
|
import android.util.Log;
|
|
|
|
|
import android.util.Pair;
|
|
|
|
|
import android.util.Base64;
|
|
|
|
|
|
|
|
|
@ -224,6 +223,9 @@ public class AppMaster {
|
|
|
|
|
postParams.add(new Pair<String, String>("oid", mService.getSerialNo()));
|
|
|
|
|
postParams.add(new Pair<String, String>("maintainVersion", mService.getMasterAppVersion()));
|
|
|
|
|
|
|
|
|
|
postParams.add(new Pair<String, String>("firmware", MpMasterService.getSystemProperty("ro.custom.ota.version")));
|
|
|
|
|
|
|
|
|
|
// SysApi.
|
|
|
|
|
postParams.add(new Pair<String, String>("simcard1", mService.getIccid(1)));
|
|
|
|
|
// if (mService.isSeparateNetwork()) {
|
|
|
|
|
postParams.add(new Pair<String, String>("simcard2", mService.getIccid(2)));
|
|
|
|
@ -307,6 +309,9 @@ public class AppMaster {
|
|
|
|
|
stats.add(new Pair<String, String>("failedTimes", Integer.toString(items[6])));
|
|
|
|
|
stats.add(new Pair<String, String>("uploads", Integer.toString(items[7])));
|
|
|
|
|
|
|
|
|
|
stats.add(new Pair<String, String>("uploads", Integer.toString(items[7])));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (items[8] > 0) {
|
|
|
|
|
stats.add(new Pair<String, String>("rebootTimes", Integer.toString(items[8])));
|
|
|
|
|
}
|
|
|
|
|