summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2012-05-11 09:06:17 -0700
committerKenny Root <kroot@google.com>2012-05-11 09:07:53 -0700
commit343331fa025efb8327ae9b2ebaa276a6d098c102 (patch)
tree65e8e72af4cdf9b8543974ee29020caced3a85fb /wifi
parent86f23aaa7c86f57a381f49147e5a4454b82fc169 (diff)
downloadframeworks_base-343331fa025efb8327ae9b2ebaa276a6d098c102.zip
frameworks_base-343331fa025efb8327ae9b2ebaa276a6d098c102.tar.gz
frameworks_base-343331fa025efb8327ae9b2ebaa276a6d098c102.tar.bz2
Add in constant for WPA supplication settings
This constant indicates what should be sent when a wpa_supplicant's engine field should be marked as "disable." Bug: 6480500 Change-Id: Ic963eff4b2ae1496f06e23f80514bf530767c568
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiConfiguration.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/wifi/java/android/net/wifi/WifiConfiguration.java b/wifi/java/android/net/wifi/WifiConfiguration.java
index dfc1b18..0a846fd 100644
--- a/wifi/java/android/net/wifi/WifiConfiguration.java
+++ b/wifi/java/android/net/wifi/WifiConfiguration.java
@@ -56,6 +56,12 @@ public class WifiConfiguration implements Parcelable {
*/
public static final String ENGINE_ENABLE = "1";
+ /**
+ * String to set the engine value to when it should be disabled.
+ * @hide
+ */
+ public static final String ENGINE_DISABLE = "0";
+
/** {@hide} */
public static final String ssidVarName = "ssid";
/** {@hide} */