Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef10cf91 authored by Siim Sammul's avatar Siim Sammul
Browse files

Change the default dropbox reserve percent from 10% to 0%.

This is needed to stop discarding crashes when the discard is 90% full. There are still other mechanism in dropbox to make sure dropbox does not use more than 10% of the free disk space or more than 10mb.

Change-Id: I2b3857436ddf434b9051296f9d7669dc1fa95a2e
Bug: 260229302
Test: Changing the value has been tested by experiment: https://mendel.corp.google.com/android_platform_settings/studies/SystemServerTelemetryDropboxStoragePublic#details
parent 29c0bb4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -91,7 +91,7 @@ public final class DropBoxManagerService extends SystemService {
    private static final int DEFAULT_MAX_FILES_LOWRAM = 300;
    private static final int DEFAULT_QUOTA_KB = 10 * 1024;
    private static final int DEFAULT_QUOTA_PERCENT = 10;
    private static final int DEFAULT_RESERVE_PERCENT = 10;
    private static final int DEFAULT_RESERVE_PERCENT = 0;
    private static final int QUOTA_RESCAN_MILLIS = 5000;

    private static final boolean PROFILE_DUMP = false;