summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Hsin-yu Chao <hychao@google.com> 2024-12-02 07:25:49 +0000
committer Hsin-yu Chao <hychao@google.com> 2024-12-06 06:01:19 +0000
commitab5622106a0f261932f5530625e1c376caa13248 (patch)
treed5ae75dc7eec3dcd2791d8be43d856ed09a6310f /libs/androidfw/ResourceTimer.cpp
parent677cb7dc201c9445d9beb33363feef6d34fd8292 (diff)
AudioDeviceInventory: reset SCO active device upon restore failure
BtHelper holds mBluetoothHeadsetDevice as the SCO active device, which may fall out of sync with mConnectedDevices in AudioDeviceInventory during audio server crash if it's not reset to null. In that situation SCO audio ports can no longer transition to connected state even after BT headset disconnect then reconnect. Bug: 380772841 Flag: com.android.media.audio.as_device_connection_failure Test: Connect BT headset, trigger audio HAL crash, reconnect BT headset and verify SCO audio ports are back Change-Id: Ie38f5e3e6d9707e4a2f04d78eb23b09641c71d9e
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions