version:1.2
fix: add:
This commit is contained in:
@@ -1101,7 +1101,8 @@ public class Utils {
|
||||
Log.e(TAG, "getUse_space: blockSize = " + blockSize);
|
||||
long totalBlocks = sf.getBlockCount();
|
||||
Log.e(TAG, "getUse_space: totalBlocks = " + totalBlocks);
|
||||
return (float) 1.0 * availableSize / (blockSize * totalBlocks);
|
||||
|
||||
return (float) 100.0 * ((blockSize * totalBlocks) - availableSize) / (blockSize * totalBlocks);
|
||||
}
|
||||
|
||||
public static String getRemnantSize(Context context) {
|
||||
@@ -1189,7 +1190,7 @@ public class Utils {
|
||||
jsonObject.put("charging", charging);
|
||||
jsonObject.put("memory", memory);
|
||||
jsonObject.put("storage", storage);
|
||||
jsonObject.put("is_wifi", JGYUtils.isWifiConnect(context));
|
||||
jsonObject.put("is_wifi", JGYUtils.getInstance().isWifiConnect());
|
||||
jsonObject.put("CPU", CPU + "核");
|
||||
jsonObject.put("use_space", use_space);
|
||||
jsonObject.put("use_ram", use_ram);
|
||||
@@ -1237,7 +1238,7 @@ public class Utils {
|
||||
}
|
||||
}
|
||||
|
||||
public static List<String> runningAppWhitelist = new ArrayList<String>() {{
|
||||
public static List<String> runningAppWhitelist = new ArrayList<String>() {{
|
||||
this.add("com.android.launcher3");
|
||||
this.add(BuildConfig.APPLICATION_ID);
|
||||
this.add("com.uiui.appstore");
|
||||
|
||||
Reference in New Issue
Block a user