diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-06-04 19:27:00 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-06-04 23:23:39 +0900 |
commit | 7cbe8435dcd63c4ea74a978e3897e965e65700bd (patch) | |
tree | 26d6650a517fe29fac93256d3ccc10e26a2ff00f /PREUPLOAD.cfg | |
parent | 782f16649ce3e8f95fea3c701b046842bca35c18 (diff) |
Switch to the two-argument version of explicitlySelected.
This allows wifi to pass in the value of noInternetAccessExpected
even if the network was not manually selected by the user.
This is needed on partial connectivity networks where the user
has responded "yes, don't ask again" to the dialog that asks
whether the device should stay connected. Such networks will
validate and thus re-enable autojoin.
When wifi autojoins such a network, ConnectivityService must be
informed that the user has accepted partial connectivity so it
can switch to the network as soon as partial connectivity is
detected.
The code change is very simple and most of this CL consists of
tests. The tests are a bit tricky because WifiNetworkAgent is
private to ClientModeImpl, and thus cannot just be mocked out.
Bug: 130766237
Test: atest FrameworksWifiTests
Change-Id: I04be21743faa88063a2aa89720b70bc61f9d1c64
Diffstat (limited to 'PREUPLOAD.cfg')
0 files changed, 0 insertions, 0 deletions