Merge "Flag storage settings cache invalidation time." into oc-mr1-dev

am: b53b925f68

Change-Id: Ib6706048900ee19a72ad412da091a9278adb42c5
This commit is contained in:
Daniel Nishi
2017-09-07 15:15:04 +00:00
committed by android-build-merger
2 changed files with 10 additions and 0 deletions

View File

@@ -10213,6 +10213,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.

View File

@@ -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,