We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a881e71 commit 865d29fCopy full SHA for 865d29f
app/src/main/java/com/yzy/supercleanmaster/utils/AppUtil.java
@@ -988,13 +988,13 @@ public static long getTotalMemory(Context context) {
988
L.d(AppUtil.class, str + "\t");
989
}
990
// 获得系统总内存,单位KB
991
- memory = Integer.valueOf(strs[1]).intValue() * 1024;
+ memory = Integer.valueOf(strs[1]).intValue() ;
992
bufferedReader.close();
993
} catch (Exception e) {
994
e.printStackTrace();
995
996
// Byte转位KB或MB
997
- return memory;
+ return memory*1024;
998
999
1000
0 commit comments