diff options
author | Eric Laurent <elaurent@google.com> | 2020-05-28 18:32:48 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2020-05-29 09:22:06 -0700 |
commit | f377f9e0a20cf6e0f7593d83c206cdd8180ca048 (patch) | |
tree | 64f0453deeef33556e79fcaf47e104781700aaf6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 7f5a592d65ede341a19e46632a10a7a6cda12475 (diff) |
AudioService: more fixes for BT A2DP device switch
Fix a couple of remaining problems left after
commit 4599ee23.
- Increase delay before unmuting media after handling
last message in switch sequence.
- Mute stream immediately instead of via a message.
- Also mute when handling messages for media A2DP
forced usage and route updates because of MediaRouter
interaction while switching device.
- Handle muting before enqueueing the messages in case
the handler thread preempts the sender after the message
is enqueued and before mute is handled.
Bug: 144784716
Test: repro steps in bug.
Change-Id: Iaae8e6d8eb3112e9770085e65afe7fb73119b502
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions