diff options
| author | David Su <dysu@google.com> | 2019-01-30 20:50:24 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-01-30 20:50:24 +0000 |
| commit | 66ae702cdc8dcfc2d9587ef759a6ec0afe614d37 (patch) | |
| tree | a2fd578ea88046d151ae1764f73e9bba34629f86 /core/java | |
| parent | 69789f9545de23eb6266945a9a7f0532eb778f06 (diff) | |
| parent | 3b618e6b5007ed8009a0565a032e0a8462506697 (diff) | |
Merge changes from topics "link-probe-overlay", "link-probe-feature-flag"
* changes:
Link Probing: Add overlay flag to disable feature by default
Link Probing: Add feature flag
Diffstat (limited to 'core/java')
| -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 5151e29e97ff..ea00698f2001 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10600,6 +10600,18 @@ public final class Settings { private static final Validator WIFI_PNO_RECENCY_SORTING_ENABLED_VALIDATOR = BOOLEAN_VALIDATOR; + /** + * Setting to enable the Wi-Fi link probing. + * Disabled by default, and setting it to 1 will enable it. + * The value is boolean (0 or 1). + * @hide + */ + public static final String WIFI_LINK_PROBING_ENABLED = + "wifi_link_probing_enabled"; + + private static final Validator WIFI_LINK_PROBING_ENABLED_VALIDATOR = + BOOLEAN_VALIDATOR; + /** * The maximum number of times we will retry a connection to an access * point for which we have failed in acquiring an IP address from DHCP. @@ -13393,6 +13405,7 @@ public final class Settings { WIFI_PNO_FREQUENCY_CULLING_ENABLED_VALIDATOR); VALIDATORS.put(WIFI_PNO_RECENCY_SORTING_ENABLED, WIFI_PNO_RECENCY_SORTING_ENABLED_VALIDATOR); + VALIDATORS.put(WIFI_LINK_PROBING_ENABLED, WIFI_LINK_PROBING_ENABLED_VALIDATOR); } /** |
