summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2019-12-02 15:16:15 -0800
committerJean-Michel Trivi <jmtrivi@google.com>2019-12-16 12:50:25 -0800
commit788417d14a9281fd01296f150cf5e4c8ded9fe9e (patch)
tree5a126876df295476a4a0d75b5bc2fed3d2eb42a9 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent9a1499fb239293c6c18c16a09263ecb4d2665fc6 (diff)
AudioService: manage single audio device type in APM
The AudioPolicyManager currently only handles one device per audio device type. Thus sending a disconnection event for an unused second A2DP device to the APM when one was already connected, would cause A2DP to be unavailable completely for audio routing. This happened in the case of fast connection / disconnection of different A2DP devices. The fix consists in keeping track in AudioDeviceInventory of which audio device is seen by the APM, and only connect one at a time, and never disconnect an unused device. Also remove mention of "BT dock" since identification of BT devices as docks is obsolete. Bug: 145627818 Test: atest AudioDeviceBrokerTest Change-Id: I18d5094bb388d4b0f614b611cbc086019742f229
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions