commit | 029276c9978f3356364e8cd259686eba9f24a2ab | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Thu May 17 16:38:51 2018 -0700 |
committer | Roshan Pius <rpius@google.com> | Thu May 17 16:40:19 2018 -0700 |
tree | 112ca77d20eaea462883279680aaa70e119cfeef | |
parent | d4140cee426bd2499a98a20ae2a9b7fdb05735f7 [diff] |
WifiVendorHal: Make HAL state change callback synchronous Ensure that the HAL callback is synchronous (not posted to handler because it will cause a race with the onDestroyed callback is synchronous). Bug: 79532177 Test: Unit tests Test: Kill wifi HAL and ensured that interface is not destroyed by HalDeviceManager before WifiStateMachine processed the death notification. Change-Id: Ie9237609466d790a4a09b8bc2d2648fef9414546