summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Alex Dadukin <adadukin@google.com> 2023-09-06 13:15:39 +0000
committer Alex Dadukin <adadukin@google.com> 2023-09-07 10:48:31 +0000
commitc225615f4e1ebdf8c0edf0338229ecb7a5d1957b (patch)
treec8314175cdb9abcc22c6f61c77676ef4e7f408ef /libs/androidfw/ApkParsing.cpp
parent8aacb8172470090ff17ea81e405c22206117cf0f (diff)
Fix A2DP device is not made active when connected
The issue is happening when we disconnect and connect the device again. On the next connection ACTION_ACTIVE_DEVICE_CHANGED and ACTION_CONNECTION_STATE_CHANGED can be delivered in order. If ACTION_ACTIVE_DEVICE_CHANGED happens before then mBluetoothRoutes does not have a valid BT route which result in UMO issues. We handle this scenario for hearing aidand LE devices but not for A2DP devices. This CL changes the handling of A2DP devices similar to what we have for other profiles. Test: tested manually (see more details in the bug) Bug: b/299268431 Change-Id: I432f9413b0b46a7c92a1061f94d88a3700fd82dd
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions