Refactoring

This commit is contained in:
M66B
2019-12-24 10:39:29 +01:00
parent 5f3361e52c
commit 7b4b7449c1
3 changed files with 3 additions and 3 deletions

View File

@@ -609,7 +609,7 @@ public class Helper {
out.write(buf, 0, len);
}
static long getStorageSpace() {
static long getAvailableStorageSpace() {
StatFs stats = new StatFs(Environment.getDataDirectory().getAbsolutePath());
return stats.getAvailableBlocksLong() * stats.getBlockSizeLong();
}