Check storage space on start

This commit is contained in:
M66B
2022-08-30 08:50:17 +02:00
parent 98a88d0ebe
commit 2b813ad2ce
5 changed files with 123 additions and 2 deletions

View File

@@ -174,7 +174,7 @@ public class Helper {
static final float LOW_LIGHT = 0.6f;
static final int BUFFER_SIZE = 8192; // Same as in Files class
static final long MIN_REQUIRED_SPACE = 250 * 1024L * 1024L;
static final long MIN_REQUIRED_SPACE = 100 * 1000L * 1000L;
static final int AUTOLOCK_GRACE = 15; // seconds
static final long PIN_FAILURE_DELAY = 3; // seconds