Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e26a3835 authored by Ugo Yu's avatar Ugo Yu Committed by Pavlin Radoslavov
Browse files

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
(cherry picked from commit b440ba997894ccc2a62aa09711e55d8f597770e4)
parent 36ec1642
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment