summaryrefslogtreecommitdiffstats
path: root/wifi
diff options
context:
space:
mode:
authorEric Shienbrood <>2009-04-13 18:12:47 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-04-13 18:12:47 -0700
commit99001278289036a3c645e599ed832943ff1b6e15 (patch)
tree2399f33f11ae3241eff1b417c2c3af310037be9b /wifi
parentf78013cd5f6c0c490f8ed705468ced55d024875f (diff)
downloadframeworks_base-99001278289036a3c645e599ed832943ff1b6e15.zip
frameworks_base-99001278289036a3c645e599ed832943ff1b6e15.tar.gz
frameworks_base-99001278289036a3c645e599ed832943ff1b6e15.tar.bz2
AI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional methods and constants
that ought to be exposed. Hid and deprecated the single-arg public constructor for NetworkInfo, and modified a CTS test that was testing it. Ran the android.net test package to make sure it still works. Original author: ers Merged from: //branches/cupcake/... Automated import of CL 145980
Diffstat (limited to 'wifi')
-rw-r--r--wifi/java/android/net/wifi/WifiManager.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/wifi/java/android/net/wifi/WifiManager.java b/wifi/java/android/net/wifi/WifiManager.java
index 483e0fa..a51e88f 100644
--- a/wifi/java/android/net/wifi/WifiManager.java
+++ b/wifi/java/android/net/wifi/WifiManager.java
@@ -226,23 +226,21 @@ public class WifiManager {
public static final String ACTION_PICK_WIFI_NETWORK = "android.net.wifi.PICK_WIFI_NETWORK";
/**
- * In this mode, Wi-Fi will be kept active,
+ * In this Wi-Fi lock mode, Wi-Fi will be kept active,
* and will behave normally, i.e., it will attempt to automatically
* establish a connection to a remembered access point that is
* within range, and will do periodic scans if there are remembered
* access points but none are in range.
- * @hide pending API council review
*/
public static final int WIFI_MODE_FULL = 1;
/**
- * In this mode, Wi-Fi will be kept active,
+ * In this Wi-Fi lock mode, Wi-Fi will be kept active,
* but the only operation that will be supported is initiation of
* scans, and the subsequent reporting of scan results. No attempts
* will be made to automatically connect to remembered access points,
* nor will periodic scans be automatically performed looking for
* remembered access points. Scans must be explicitly requested by
* an application in this mode.
- * @hide pending API council review
*/
public static final int WIFI_MODE_SCAN_ONLY = 2;
@@ -805,8 +803,6 @@ public class WifiManager {
* @return a new, unacquired WifiLock with the given tag.
*
* @see WifiLock
- *
- * @hide pending API council review
*/
public WifiLock createWifiLock(int lockType, String tag) {
return new WifiLock(lockType, tag);