修复存储信息

hdrplus
Matthew 1 year ago
parent 745b6b18fe
commit 198c6dc43d

@ -233,6 +233,7 @@ public class AppMaster {
// }
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 "";
}

Loading…
Cancel
Save