summaryrefslogtreecommitdiff
path: root/location/java
diff options
context:
space:
mode:
author Soonil Nagarkar <sooniln@google.com> 2024-07-18 11:41:26 -0700
committer Soonil Nagarkar <sooniln@google.com> 2024-07-18 11:43:54 -0700
commit1019ff0b5ec9f67e89979feb995e01c3aedddf9d (patch)
tree97bac2a69907c971020139be1605ae6991218d2d /location/java
parent057e584a4b29ac014a657b675bf46f69a7bf2214 (diff)
Remove stationary throttling for location providers
Two flags give us the option of removing stationary throttling for all providers, or for all providers except GNSS. Bug: 354000147 Test: LocationProviderManagerTest Flag: android.location.flags.keep_gnss_stationary_throttling Flag: android.location.flags.disable_stationary_throttling Change-Id: I0a25835449a202b671eb17e7253e7f1cd6f2884f
Diffstat (limited to 'location/java')
-rw-r--r--location/java/android/location/flags/location.aconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/location/java/android/location/flags/location.aconfig b/location/java/android/location/flags/location.aconfig
index acfe473c260c..0edaaefbd75d 100644
--- a/location/java/android/location/flags/location.aconfig
+++ b/location/java/android/location/flags/location.aconfig
@@ -2,6 +2,20 @@ package: "android.location.flags"
container: "system"
flag {
+ name: "keep_gnss_stationary_throttling"
+ namespace: "location"
+ description: "Keeps stationary throttling for the GNSS provider even if the disable_stationary_throttling flag is true."
+ bug: "354000147"
+}
+
+flag {
+ name: "disable_stationary_throttling"
+ namespace: "location"
+ description: "Disables stationary throttling for all providers"
+ bug: "354000147"
+}
+
+flag {
name: "new_geocoder"
namespace: "location"
description: "Flag for new Geocoder APIs"