commit | 566cad494d504b60710640d931947cff6aade537 | [log] [tgz] |
---|---|---|
author | Jake Hamby <jhamby@google.com> | Fri Oct 26 15:38:10 2012 -0700 |
committer | Jake Hamby <jhamby@google.com> | Fri Oct 26 16:01:09 2012 -0700 |
tree | 7e7890a72aeb9693086434745f888876392c7eb5 | |
parent | a0a19ea8aa8ed74501a0b0e906796ae0b33b5ea8 [diff] |
Fix race condition causing occasional CTS failures. WifiManagerTest was waiting for SUPPLICANT_STATE_CHANGED_ACTION after enabling or disabling WiFi. Fix the code to check if the WiFi state is already the desired state, and if not, to wait for the WIFI_STATE_CHANGED_ACTION broadcast intent. Bug: 7082455 Change-Id: Id1c2242c32311084f5587ea5403f6b227d1b8b04