summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author chenxin20 <chenxin20@xiaomi.com> 2024-08-02 16:24:32 +0800
committer Mikhail Naganov <mnaganov@google.com> 2024-08-21 13:35:19 -0700
commitcd106f5c7847ed8404f0e8010c6bf23497e6c9d4 (patch)
tree0a3c600ffb1148f0158b73a79028edf96ecf2353 /libs/androidfw/StringPool.cpp
parent4f301b434fe8f02df4a3334019447bd320b34e90 (diff)
AudioService: Add makeHearingAidDeviceUnavailableLater
Currently, when Hearing Aid device becomes unavaliable due to BT adapter disable, user can hear audio from device speaker for a split second. This is because we make device unavaliable immediately for Hearing Aid. Instead, it should become unavaliable after AUDIO_BECOMING_NOISY intent is sent. Since this is working correctly for A2DP, fix is to copy solution from there for Hearing Aid code path, and split makeHearingAidDeviceUnavailable into *Now and *Later versions. Bug:361198689 Test: Disconnect Bluetooth when playing music while connected to a hearing aid, see if there is sound coming from the speaker. Change-Id: I3446249f3dd1033079188fb87a7471456d38dab7 Signed-off-by: chenxin20 <chenxin20@xiaomi.com>
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions