|
|
@ -775,8 +775,9 @@ public class Log {
|
|
|
|
ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
|
|
|
|
ActivityManager am = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);
|
|
|
|
sb.append(String.format("Memory class: %d\r\n", am.getMemoryClass()));
|
|
|
|
sb.append(String.format("Memory class: %d\r\n", am.getMemoryClass()));
|
|
|
|
|
|
|
|
|
|
|
|
sb.append(String.format("Storage space: %s\r\n",
|
|
|
|
sb.append(String.format("Storage space: %s/%s\r\n",
|
|
|
|
Helper.humanReadableByteCount(Helper.getAvailableStorageSpace(), true)));
|
|
|
|
Helper.humanReadableByteCount(Helper.getAvailableStorageSpace(), true),
|
|
|
|
|
|
|
|
Helper.humanReadableByteCount(Helper.getTotalStorageSpace(), true)));
|
|
|
|
|
|
|
|
|
|
|
|
Runtime rt = Runtime.getRuntime();
|
|
|
|
Runtime rt = Runtime.getRuntime();
|
|
|
|
long hused = (rt.totalMemory() - rt.freeMemory()) / 1024L;
|
|
|
|
long hused = (rt.totalMemory() - rt.freeMemory()) / 1024L;
|
|
|
|