WifiManager: add WIFI_MODE_NO_LOCKS_HELD
Add a WifiLock mode representing that no locks are held (@hide). Bug: 28669096 Change-Id: I774d5ff226e7c639812f9735555c8ea1ed6444af Test: compiles and runtest frameworks-wifi
This commit is contained in:
@@ -560,6 +560,12 @@ public class WifiManager {
|
||||
@SdkConstant(SdkConstantType.ACTIVITY_INTENT_ACTION)
|
||||
public static final String ACTION_PICK_WIFI_NETWORK = "android.net.wifi.PICK_WIFI_NETWORK";
|
||||
|
||||
/**
|
||||
* Internally used Wi-Fi lock mode representing the case were no locks are held.
|
||||
* @hide
|
||||
*/
|
||||
public static final int WIFI_MODE_NO_LOCKS_HELD = 0;
|
||||
|
||||
/**
|
||||
* In this Wi-Fi lock mode, Wi-Fi will be kept active,
|
||||
* and will behave normally, i.e., it will attempt to automatically
|
||||
|
||||
Reference in New Issue
Block a user