summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Siting Mo <siting.mo@oppo.corp-partner.google.com> 2022-07-11 15:32:25 +0800
committer Jing Ji <jji@google.com> 2022-07-11 15:34:20 -0700
commita7d6da803241d45aec5edb0e357be88afc862739 (patch)
treeae5737de4da4ae4d883e828060778b5cc9daef8f /libs/androidfw/StringPool.cpp
parent184d8894f823304615fe98e50dfd1553ff7ff8ed (diff)
Add AMS lock protection to mAppsInBackgroundRestricted collection
When the process is started asynchronously, the mAppsInBackgroundRestricted collection lacks AMS lock protection and will throw ConcurrentModificationException crash with a low probability. Bug: 236582924 Test: Treehugger Change-Id: Ieec1de9ee1fd336cf1de54566f80442e3cd3acdd
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions