[NetworkSuggestion] change comments to fit the disconnect behavior

Bug: 137582811
Test: build
Change-Id: I0ee13a98c74e25cac9b94ee16703e291a2ff2610
This commit is contained in:
Nate(Qiang) Jiang
2019-11-20 18:52:47 -08:00
parent 13d940da4d
commit 9707dc2136

View File

@@ -1835,8 +1835,9 @@ public class WifiManager {
/**
* Remove some or all of the network suggestions that were previously provided by the app.
* If the current network is a suggestion being removed and if it was only provided by this app
* and is not a saved network then the framework will immediately disconnect.
* If one of the suggestions being removed was used to establish connection to the current
* network, then the device will immediately disconnect from that network.
*
* See {@link WifiNetworkSuggestion} for a detailed explanation of the parameters.
* See {@link WifiNetworkSuggestion#equals(Object)} for the equivalence evaluation used.
*