summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author ryanlwlin <ryanlwlin@google.com> 2022-01-04 21:21:50 +0800
committer ryanlwlin <ryanlwlin@google.com> 2022-01-04 21:21:50 +0800
commit58e65f3058ca40da293d737e86db8eff36c9adf6 (patch)
tree7e240c4274926252f8269889d3c955355a8f63e1 /libs/androidfw/StringPool.cpp
parent9278335f3cd7ee9897ad548b16a4a503a7cde1ce (diff)
Fix flaky AccessibilityMagnificationTest
The flaky is caused by the deadlock. WindowMagnificationManager has its own lock and the WindowMagnificationConnectionWrapper which uses AccessibilityTraceManager. When the public method of WindowMagnificationManager is invoked, it hold the lock of WindowMagnificationManager and the lock of AccessibilityManagerService. However, when the service connection is unbound, it will hold the lock of AccessibilityManagerService first then the lock of WindowMagnificationManager. To simplify the archiecuture, we inject the lock of AccessibilityManagerService to WindowMagnificationManager. Bug: 213120663 Test: atest com.android.server.accessibility atest CtsAccessibilityServiceTestCases Change-Id: I818c57a5140269a5800eb1a52e25aa2ce0919245
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions