From d3adb7e81658b9c3af8955360acd1b930be6cda8 Mon Sep 17 00:00:00 2001 From: vandwalle Date: Wed, 21 May 2014 10:48:16 -0700 Subject: various autojoin fixes Change-Id: I96acd02764a6fd7c8482ab82bd7e33280b90a577 --- wifi/java/android/net/wifi/WifiConfiguration.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'wifi') diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java index 292f844..769d974 100644 --- a/wifi/java/android/net/wifi/WifiConfiguration.java +++ b/wifi/java/android/net/wifi/WifiConfiguration.java @@ -400,8 +400,14 @@ public class WifiConfiguration implements Parcelable { /** @hide */ public static final int AUTO_JOIN_ENABLED = 0; + /** @hide + * if this is set, the WifiConfiguration cannot use linkages so as to bump + * it's relative priority. + * */ + public static final int AUTO_JOIN_TEMPORARY_DISABLED = 1; /** @hide */ - public static final int AUTO_JOIN_DISABLED_ON_AUTH_FAILURE = 1; + public static final int AUTO_JOIN_DISABLED_ON_AUTH_FAILURE = 2; + /** * @hide */ -- cgit v1.1