WifiScanner: Enhance doc for setScanningEnabled API
The existing WifiScanner.setScanningEnabled() API is invoked by ActiveModeWarden after any client iface state changes. Documenting this behavior explicitly (i.e enable needs to be invoked multiple time if there are multiple STA's brought up). Bug: 140111024 Test: None Change-Id: Ie377a9b57119cb7389df60294fc2111ec654fd38
This commit is contained in:
@@ -750,7 +750,10 @@ public class WifiScanner {
|
||||
|
||||
/**
|
||||
* Enable/Disable wifi scanning.
|
||||
*
|
||||
* Note: WifiService calls this after any client interface mode changes (i.e. a new interface
|
||||
* set up or an existing interface torn down)
|
||||
* If there are >= 1 active client interface, invoke setScanningEnabled(true)
|
||||
* If there are 0 active client interface, invoke setScanningEnabled(false)
|
||||
* {@hide}
|
||||
*/
|
||||
@RequiresPermission(Manifest.permission.NETWORK_STACK)
|
||||
|
||||
Reference in New Issue
Block a user