diff options
author | Gautam Manam <gmanam@codeaurora.org> | 2021-06-28 20:36:58 +0530 |
---|---|---|
committer | Gautam Manam <gmanam@codeaurora.org> | 2021-06-29 07:16:58 +0000 |
commit | ada53d275767659134acffae77ee51230ea09733 (patch) | |
tree | 17ff2f04149a70902ea6b7109056af581f8a9130 /libs/hwui/renderthread/RenderThread.cpp | |
parent | 49f048a64a8db8f205f38ea58952df524c0579dd (diff) |
AudioService: add device to list incase of audioserver crash.
During device connection in APM if TC error happens and
audioserver crashes, device will not be added into Connected Devices
list and after audioserver restarts, as A2DP is not in the list, it
wont trigger APM device connection for A2DP and audio comes on speaker
even though A2DP is connected.
If error is audioserver died,add device to the list,so that
during restart AS will restore A2DP by triggering restore
to add A2DP device to APM by calling APM device Connection
and audio routes to A2DP
CRs-Fixed: 2953926
Change-Id: If5eb76da23129095519f2cf6de5bbc60a04fa4ca
Diffstat (limited to 'libs/hwui/renderthread/RenderThread.cpp')
0 files changed, 0 insertions, 0 deletions