diff options
| author | Yu-Han Yang <yuhany@google.com> | 2018-03-11 17:17:15 -0700 |
|---|---|---|
| committer | Yu-Han Yang <yuhany@google.com> | 2018-04-05 08:57:04 -0700 |
| commit | 66c7ea91b413c9d812047288efb343c16b23d865 (patch) | |
| tree | a469a605de399859073eda1e6e34d2da454a1027 /core/java/android | |
| parent | 6a95a2cc52ee10b74dacc560cfb9e41243fcd31f (diff) | |
Implements GNSS satellite blacklist
Bug: 38269641
Test: m -j ROBOTEST_FILTER=GnssSatelliteBlacklistHelperTest RunFrameworksServicesRoboTests
Test: atest SettingsBackupTest
Test: Tested with adb on device
Change-Id: Ifaa330bf74353ea5c8826f0000d1935258b8dbf2
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/Settings.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 98d8666ecd47..c1793443bfb3 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -12541,6 +12541,19 @@ public final class Settings { */ public static final String SWAP_ENABLED = "swap_enabled"; + /** + * Blacklist of GNSS satellites. + * + * This is a list of integers separated by commas to represent pairs of (constellation, + * svid). Thus, the number of integers should be even. + * + * E.g.: "3,0,5,24" denotes (constellation=3, svid=0) and (constellation=5, svid=24) are + * blacklisted. Note that svid=0 denotes all svids in the + * constellation are blacklisted. + * + * @hide + */ + public static final String GNSS_SATELLITE_BLACKLIST = "gnss_satellite_blacklist"; } /** |
