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:39:57 +0000
commit04b3438cf38be98f2d0efeb1a83a5a623e18d242 (patch)
tree5451a18554fbef9183f0af5d914405642797f84d /libs/androidfw/FileStream.cpp
parentb301516b84ad363a6f392d33febb70fb42c8cc2b (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