diff options
| -rwxr-xr-x | core/java/android/provider/Settings.java | 9 | ||||
| -rw-r--r-- | core/tests/coretests/src/android/provider/SettingsBackupTest.java | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 5b9e399e5c38..94dddc075865 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10214,6 +10214,15 @@ public final class Settings { "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. * diff --git a/core/tests/coretests/src/android/provider/SettingsBackupTest.java b/core/tests/coretests/src/android/provider/SettingsBackupTest.java index 6756e34b1349..3b71e426085a 100644 --- a/core/tests/coretests/src/android/provider/SettingsBackupTest.java +++ b/core/tests/coretests/src/android/provider/SettingsBackupTest.java @@ -329,6 +329,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, |