commit | f08e69dcd055843990b5fec4ea2d00b4c05c4d80 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Mon Mar 23 15:54:29 2020 -0700 |
committer | Roshan Pius <rpius@google.com> | Mon Mar 23 15:58:55 2020 -0700 |
tree | fa48d43bd87c2cb1cc06886a925e411a30f2d893 | |
parent | 6968a6fb322d66626667f5731fe94253eeada3fe [diff] |
WifiManagerTest: Use addNetwork + enableNetwork instead of save WifiManager.save() is an asynchronous operation. This is sometime causing the tests to be flaky (dropShellIdentity occurs while this is being processed). Use the synchronous legacy API's instead for rewinding the effects of factory reset. Bug: 152048238 Test: atest android.net.wifi.cts.WifiManagerTest Change-Id: Ibb0e04cf931511fcda1b1a81fd6eda4583196c2e