summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Songchun Fan <schfan@google.com> 2022-04-13 20:11:53 +0000
committer Songchun Fan <schfan@google.com> 2022-04-13 21:19:15 +0000
commit7d517bcf610b350134f682d4abcdb9fe38ab93df (patch)
tree69cfeffcbd44e10c693a4fe187e2bb83a54af753 /libs/androidfw/StringPool.cpp
parent5f17b13a5d6ddb901f651748d6d75efbc6e8610e (diff)
[AppsFilter] use a copy of settings for recomputeComponentVisibility
ag/17540260 introduced the read-only interface for snapshot. However, when recompute is called from the snapshot it holds mPm.mLock for more than 500ms which significantly increases the boot time. This CL is to move it outside `runWithState` which holds mPm.mLock. Followup CLs will force `runWithState` to use snapshots when it is called from a snapshot. Also use manual `onChanged` calls to reduce snapshot invalidations. BUG: 228712570 Test: manual Change-Id: I8a2dfa937100f77fccd1dab0a7d83944d6beea67
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions