commit | 7efae207d29a335204c3694b55296b5ee2d8ef13 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Wed Nov 02 22:35:03 2022 -0700 |
committer | My Name <lzye@google.com> | Tue Dec 06 00:50:26 2022 -0800 |
tree | 7f02921492ed4997fd3ee76c71ce33a442705a77 | |
parent | edceea23f4f18c5df2e1d25a5fd6d25ff960f9ae [diff] |
Add polling for WifiManager#getConnectionInfo In Cts test after disabling Wifi, the WifiManager#getConnectionInfo will not return network id -1 immediately. Need to poll the wifi disabled and the network connection info cleared before asserting the connection info. Bug: 252869312 Test: atest ConnectivityManagerTest#testRejectPartialConnectivity_TearDownNetwork Change-Id: If88261b0d81c1dc1731c683513878d054d2cb0dc