summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Daniel Norman <danielnorman@google.com> 2023-09-12 23:54:04 +0000
committer Daniel Norman <danielnorman@google.com> 2023-10-13 17:45:14 +0000
commit618169b9006db2f9187b79205a99433fec33200f (patch)
tree185e08a733a4ecd6a50e609df1bd9dff19fb339a /libs/androidfw/misc.cpp
parent40d768fde9b115774a17b1374fef72b0643720cf (diff)
Parses accessibility packages without holding A11yManagerService#mLock.
Package resource parsing can randomly take a very long time, so we shouldn't hold the singular A11y mLock while doing this parsing or else unrelated threads will be blocked. Introduces a new flag: - namespace: accessibility - flag: com.android.server.accessibility.scan_packages_without_lock Bug: 295969873 Test: Enable/disable the flag. Observe unchanged behavior when installing and uninstalling a11y packages and switching users. Test: atest AccessibilityManagerServiceTest Change-Id: I1bc05403c14bfdd8da7c6621048d93df98f1ddf5
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions