diff options
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/provider/Settings.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index eead3dffeb1a..689f975c91ca 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -10285,6 +10285,18 @@ public final class Settings { public static final String WIFI_LINK_SPEED_METRICS_ENABLED = "wifi_link_speed_metrics_enabled"; + /** + * Setting to enable the PNO frequency culling optimization. + * Disabled by default, and setting it to 1 will enable it. + * The value is boolean (0 or 1). + * @hide + */ + public static final String WIFI_PNO_FREQUENCY_CULLING_ENABLED = + "wifi_pno_frequency_culling_enabled"; + + private static final Validator WIFI_PNO_FREQUENCY_CULLING_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. @@ -12692,6 +12704,8 @@ public final class Settings { VALIDATORS.put(DEVICE_PROVISIONING_MOBILE_DATA_ENABLED, BOOLEAN_VALIDATOR); VALIDATORS.put(REQUIRE_PASSWORD_TO_DECRYPT, BOOLEAN_VALIDATOR); VALIDATORS.put(DEVICE_DEMO_MODE, BOOLEAN_VALIDATOR); + VALIDATORS.put(WIFI_PNO_FREQUENCY_CULLING_ENABLED, + WIFI_PNO_FREQUENCY_CULLING_ENABLED_VALIDATOR); } /** |
