Enable ability for secondary users to scan for networks, but not forget.
Bug: 15437477
Bug: 14676589
Change-Id: I3f1956265f4877b8c3cba138628b7393c393d175
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java
index a30fb79..ae16102 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -1447,6 +1447,14 @@
*/
public static final int INVALID_ARGS = 8;
+ /**
+ * Passed with {@link ActionListener#onFailure}.
+ * Indicates that the operation failed due to user permissions.
+ *
+ * @hide
+ */
+ public static final int NOT_AUTHORIZED = 9;
+
/** Interface for callback invocation on an application action */
public interface ActionListener {
/** The operation succeeded */