|
|
|
@ -229,10 +229,11 @@ public class AppMaster {
|
|
|
|
|
// SysApi.
|
|
|
|
|
postParams.add(new Pair<String, String>("simcard1", mService.getIccid(1)));
|
|
|
|
|
// if (mService.isSeparateNetwork()) {
|
|
|
|
|
postParams.add(new Pair<String, String>("simcard2", mService.getIccid(2)));
|
|
|
|
|
postParams.add(new Pair<String, String>("simcard2", mService.getIccid(2)));
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
postParams.add(new Pair<String, String>("freeROM", getFreeROM()));
|
|
|
|
|
|
|
|
|
|
buildStats(startTime, postParams);
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
@ -362,7 +363,11 @@ public class AppMaster {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private String getFreeROM() {
|
|
|
|
|
// return SysApi.get
|
|
|
|
|
long[] flashInfo = SysApi.getFlashInfo();
|
|
|
|
|
if (flashInfo != null && flashInfo.length > 1) {
|
|
|
|
|
double fd = (double)(flashInfo[1] * 100) / (double)flashInfo[0];
|
|
|
|
|
return Integer.toString((int)fd) + "%";
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|