commit | 19c6781efe4ad552dec3423c858b2ab64f447d8e | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Mon Dec 04 11:00:50 2017 -0800 |
committer | Roshan Pius <rpius@google.com> | Mon Dec 04 19:37:06 2017 +0000 |
tree | 1bade12f4fda5f4c60c8d4d78a97061f480de184 | |
parent | 2b54d06845a87bf238066b437ba912e2be07e234 [diff] |
WifiAwareNativeManager: Use handler for status callback The change of behavior in the HalDeviceManager callbacks causes the status changed callback to be invoked synchronously. This exposes a race condition between WifiService & WifiAwareService. The race condition is still present with the fix, but it's less likely to happen. Bug: 70163748 Test: Unit tests Test: Turn on softap Change-Id: I42da58846452b6b368e54c944166bd1d7d71c311