diff options
| author | Soonil Nagarkar <sooniln@google.com> | 2017-01-24 12:52:10 -0800 |
|---|---|---|
| committer | Soonil Nagarkar <sooniln@google.com> | 2017-01-25 11:00:05 -0800 |
| commit | 2f1f7e8d68a5408b0fd1967b15b0766ba3318f5d (patch) | |
| tree | 190762a406b8ecb3d20cb78c8e67dabdca209235 /core/java/android | |
| parent | 65e8f0adf31f8af2fea5d2ab9bdbf95ecf693852 (diff) | |
Add background location throttling whitelist support.
Test: manually
Change-Id: I6754fbb8f5eaf7bec3e469a9f25ac4a77965ea50
Diffstat (limited to 'core/java/android')
| -rwxr-xr-x | core/java/android/provider/Settings.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 71b9482657b6..26b8340d70c9 100755 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -7608,6 +7608,13 @@ public final class Settings { public static final String LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS = "location_background_throttle_interval_ms"; + /** + * Packages that are whitelisted for background throttling (throttling will not be applied). + * @hide + */ + public static final String LOCATION_BACKGROUND_THROTTLE_PACKAGE_WHITELIST = + "location_background_throttle_package_whitelist"; + /** * Whether TV will switch to MHL port when a mobile device is plugged in. * (0 = false, 1 = true) |
