Implement WifiNetworkListFragment - Part 2

Uses connected access point to start DPP in Configurator-Initiator role directly.

Bug: 118794978
Test: RunSettingsRoboTests
Change-Id: Ie2d5661fdef3588bb597d4a7e4dfe5f981737c84
This commit is contained in:
Johnson Lu
2019-01-15 05:15:29 +08:00
parent 0adba0aa1b
commit 98bc9e5384
2 changed files with 20 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ public class WifiNetworkListFragmentTest {
private void callOnWifiStateChanged(int state) {
mActivityRule.getActivity().getMainThreadHandler()
.post(() -> mWifiNetworkListFragment.onWifiStateChanged(state));
mWifiNetworkListFragment.mUseConnectedAccessPointDirectly = false;
}
/** Launch the activity via an Intent with a String extra. */