| commit | e454a967cc2028b2ec3a4f12e8d6f7460fae424f | [log] [tgz] |
|---|---|---|
| author | Roshan Pius <rpius@google.com> | Wed Mar 10 11:23:26 2021 -0800 |
| committer | Roshan Pius <rpius@google.com> | Wed Mar 10 17:35:19 2021 -0800 |
| tree | ddc3ae7c2a3ca8c111aff74aeecf925f5f888727 | |
| parent | e8fd4a13087bad5910d042c3066b51b640f09c4b [diff] |
TestHelper(wifi cts): Unregister network callback on failure Any failures in the helper method would result in the helper methods not returning the network callback object to the caller. So, unregister the network callback in all those cases to avoid interfering with subsequent tests. Also, propagate InterruptedException to callers. Bug: 181718421 Test: atest android.net.wifi.cts Change-Id: Iac6a94cb1b5ce2abc63975942db2904d9860d561