mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Refactoring
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user