From 1019ff0b5ec9f67e89979feb995e01c3aedddf9d Mon Sep 17 00:00:00 2001 From: Soonil Nagarkar Date: Thu, 18 Jul 2024 11:41:26 -0700 Subject: 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 --- location/java/android/location/flags/location.aconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'location/java') 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 @@ -1,6 +1,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" -- cgit v1.2.3-59-g8ed1b