summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorvandwalle <vandwalle@google.com>2014-05-21 10:48:16 -0700
committervandwalle <vandwalle@google.com>2014-05-21 10:54:25 -0700
commitd3adb7e81658b9c3af8955360acd1b930be6cda8 (patch)
treebdcd89147e7126dc1c3195192035ddc7b2c7fc50 /wifi
parent193909da71a342519ad640d157c122a38b6d1a3e (diff)
downloadframeworks_base-d3adb7e81658b9c3af8955360acd1b930be6cda8.zip
frameworks_base-d3adb7e81658b9c3af8955360acd1b930be6cda8.tar.gz
frameworks_base-d3adb7e81658b9c3af8955360acd1b930be6cda8.tar.bz2
various autojoin fixes
Change-Id: I96acd02764a6fd7c8482ab82bd7e33280b90a577
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiConfiguration.java8
1 files changed, 7 insertions, 1 deletions
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
*/