From a20ca67d944a8a015206dcdec41eb87f55165358 Mon Sep 17 00:00:00 2001 From: Jeff Davidson Date: Tue, 16 Dec 2014 11:48:54 -0800 Subject: Add global setting for ephemeral network timeout. Bug: 18637384 Change-Id: I6bde3c9eef12caf2cc51c449abffc1c69f60c17f --- core/java/android/provider/Settings.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'core/java/android') diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 555f64c..838686a 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -5924,6 +5924,18 @@ public final class Settings { public static final String WIFI_REENABLE_DELAY_MS = "wifi_reenable_delay"; /** + * Timeout for ephemeral networks when all known BSSIDs go out of range. We will disconnect + * from an ephemeral network if there is no BSSID for that network with a non-null score that + * has been seen in this time period. + * + * If this is less than or equal to zero, we use a more conservative behavior and only check + * for a non-null score from the currently connected or target BSSID. + * @hide + */ + public static final String WIFI_EPHEMERAL_OUT_OF_RANGE_TIMEOUT_MS = + "wifi_ephemeral_out_of_range_timeout_ms"; + + /** * The number of milliseconds to delay when checking for data stalls during * non-aggressive detection. (screen is turned off.) * @hide -- cgit v1.1