diff options
author | 2025-03-18 16:01:01 -0700 | |
---|---|---|
committer | 2025-03-18 16:01:01 -0700 | |
commit | f9bc523c2bb7e98f4ea33a6c2764e6e5d6e53d7a (patch) | |
tree | 96dbcbbcc365eeb2942e451b33d71b84b0c09fa2 /location | |
parent | 2047bdf19c3e529e85348cc76906aa048b7c8fa2 (diff) |
Add an unstable fallback for the gnss/fused location provider overlay
Keeps track of the number of times a given service has died in the last minute, and if a service has died ten times, mark it as unstable and always prefer non-unstable services.
Flag: android.location.flags.service_watcher_unstable_fallback
Bug: 402997842
Test: Manual
Change-Id: I8ad3fb6fb5497b2d828b10269afb9c8e0d215a0a
Diffstat (limited to 'location')
-rw-r--r-- | location/java/android/location/flags/location.aconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/location/java/android/location/flags/location.aconfig b/location/java/android/location/flags/location.aconfig index f26e72fa79f1..5b29b717fdc2 100644 --- a/location/java/android/location/flags/location.aconfig +++ b/location/java/android/location/flags/location.aconfig @@ -205,3 +205,10 @@ flag { bug: "209078566" } +flag { + name: "service_watcher_unstable_fallback" + namespace: "location" + description: "Flag for service watcher to fallback on an unstable service" + bug: "402997842" + is_fixed_read_only: true +} |