summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Felix Oghina <hackz@google.com> 2023-03-30 16:29:28 +0000
committer Felix Oghina <hackz@google.com> 2023-04-11 12:42:12 +0000
commita1eb2797534b4b1ac35baef95c1f2ebf2d08d739 (patch)
treecdb487c92e4e954f8d952770e18c3e18c7b62afa /libs/androidfw/FileStream.cpp
parentab8218dbf143fe8b9d3fd8a1b318f3bdee019789 (diff)
[hotword] init audioflinger outside of lock
The lock used in HotwordDetectionConnection is shared with VoiceInteractionManagerServiceStub, meaning UI thread can end up waiting for audio flinger service to initialize, causing a freeze. Not that this is not a perfect fix, since the first call (in HotwordDetectionConnection constructor) is still locked. However, the deadlock seems to occur when the service dies and we try to re-initialize, which this change should fix. Bug: 215887032 Test: atest CtsVoiceInteractionTestCases Change-Id: I35c682910ac6605041175ab523a71f2b83b499dc
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions