commit | b440ba997894ccc2a62aa09711e55d8f597770e4 | [log] [tgz] |
---|---|---|
author | Ugo Yu <ugoyu@google.com> | Thu May 17 20:30:41 2018 +0800 |
committer | Pavlin Radoslavov <pavlin@google.com> | Tue May 22 02:46:12 2018 -0700 |
tree | 4e0fbbde8a0979593bc7236a9ad4ae2adbd863a0 | |
parent | 7ca3a4f165b836692449e6f940bf9a57c3a78893 [diff] |
Update a2dp state to not playing while quitting the state machine - Fix a race condition for a2dp while turning off Bluetooth. - Audio state won't be updated if A2dpService stop before stack report audio state change. - Update audio state to not playing if it is playing and the state machine is quitting. Bug: 79911521 Test: manual test, turn off Bluetooth while a2dp is playing Change-Id: I09c4e062fd2205abf57c25ca44cba27088ebf5e5