Merge "WifiManager: add WIFI_MODE_NO_LOCKS_HELD"

This commit is contained in:
TreeHugger Robot
2016-05-20 18:36:22 +00:00
committed by Android (Google) Code Review

View File

@@ -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