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

Commit 5782b5c5 authored by Daniel Nishi's avatar Daniel Nishi
Browse files

Flag storage settings cache invalidation time.

Fixes: 37923463
Test: Settings Robotest

Change-Id: Ibd4c90dde6d378621ab5e8a96408cd3f496c1f6e
parent f15c825d
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -10178,6 +10178,15 @@ public final class Settings {
        public static final String EUICC_FACTORY_RESET_TIMEOUT_MILLIS =
                "euicc_factory_reset_timeout_millis";

        /**
         * Flag to set the timeout for when to refresh the storage settings cached data.
         * Type: long
         *
         * @hide
         */
        public static final String STORAGE_SETTINGS_CLOBBER_THRESHOLD =
                "storage_settings_clobber_threshold";

        /**
         * Settings to backup. This is here so that it's in the same place as the settings
         * keys and easy to update.
+1 −0
Original line number Diff line number Diff line
@@ -327,6 +327,7 @@ public class SettingsBackupTest {
                    Settings.Global.SMS_SHORT_CODES_UPDATE_CONTENT_URL,
                    Settings.Global.SMS_SHORT_CODES_UPDATE_METADATA_URL,
                    Settings.Global.STORAGE_BENCHMARK_INTERVAL,
                    Settings.Global.STORAGE_SETTINGS_CLOBBER_THRESHOLD,
                    Settings.Global.SYNC_MAX_RETRY_DELAY_IN_SECONDS,
                    Settings.Global.SYS_FREE_STORAGE_LOG_INTERVAL,
                    Settings.Global.SYS_STORAGE_CACHE_MAX_BYTES,