Merge changes from topic 'cherry-pick'
* changes: [NAN] Register WIFI_NAN_STATE_CHANGED as protected broadcast [NAN] Update API javadoc to clarify NAN status change broadcast scope
This commit is contained in:
@@ -289,6 +289,7 @@
|
||||
<protected-broadcast android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" />
|
||||
<protected-broadcast android:name="android.net.wifi.WIFI_CREDENTIAL_CHANGED" />
|
||||
<protected-broadcast android:name="android.net.wifi.WIFI_SCAN_AVAILABLE" />
|
||||
<protected-broadcast android:name="android.net.wifi.nan.action.WIFI_NAN_STATE_CHANGED" />
|
||||
<protected-broadcast android:name="android.net.wifi.SCAN_RESULTS" />
|
||||
<protected-broadcast android:name="android.net.wifi.RSSI_CHANGED" />
|
||||
<protected-broadcast android:name="android.net.wifi.STATE_CHANGE" />
|
||||
|
||||
@@ -201,6 +201,8 @@ public class WifiNanManager {
|
||||
* Use the {@link #isAvailable()} to query the current status.
|
||||
* This broadcast is <b>not</b> sticky, use the {@link #isAvailable()} API after registering
|
||||
* the broadcast to check the current state of Wi-Fi NAN.
|
||||
* <p>Note: The broadcast is only delivered to registered receivers - no manifest registered
|
||||
* components will be launched.
|
||||
*/
|
||||
@SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
|
||||
public static final String ACTION_WIFI_NAN_STATE_CHANGED =
|
||||
|
||||
Reference in New Issue
Block a user