Merge "Convert RTT background throttle to a settable value (1/2)." into pi-dev

This commit is contained in:
android-build-team Robot
2018-05-04 23:40:22 +00:00
committed by Android (Google) Code Review
2 changed files with 10 additions and 0 deletions

View File

@@ -9543,6 +9543,15 @@ public final class Settings {
public static final String WIFI_SCAN_ALWAYS_AVAILABLE =
"wifi_scan_always_enabled";
/**
* The interval in milliseconds at which wifi rtt ranging requests will be throttled when
* they are coming from the background.
*
* @hide
*/
public static final String WIFI_RTT_BACKGROUND_EXEC_GAP_MS =
"wifi_rtt_background_exec_gap_ms";
/**
* Whether soft AP will shut down after a timeout period when no devices are connected.
*

View File

@@ -466,6 +466,7 @@ public class SettingsBackupTest {
Settings.Global.WIFI_ON,
Settings.Global.WIFI_P2P_DEVICE_NAME,
Settings.Global.WIFI_REENABLE_DELAY_MS,
Settings.Global.WIFI_RTT_BACKGROUND_EXEC_GAP_MS,
Settings.Global.WIFI_SAVED_STATE,
Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE,
Settings.Global.WIFI_SCAN_INTERVAL_WHEN_P2P_CONNECTED_MS,