diff options
author | liulvping <liulvping@xiaomi.com> | 2021-03-16 09:45:34 +0800 |
---|---|---|
committer | Erik Wolsheimer <ewol@google.com> | 2021-04-14 17:12:04 +0000 |
commit | 162be8a14025fe0f0424854f9cf641918e2e7ad7 (patch) | |
tree | 65ce9450b2404748bdc577ab7343d3f09df92237 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2c973f164b4280ddf09965544061ec9d9a515203 (diff) |
Don't read or persist historical registry on the critical path
When user uninstalled a package, PKMS do send the
PACKAGE_REMOVED broadcast, then holding the AMS
lock and calling AppOpsService::packageRemoved.
High overhead disk io on the critical path could
cause dvm lock contention, make system runs slowly.
Bug: 182834807
Test: manual
Signed-off-by: liulvping <liulvping@xiaomi.com>
Change-Id: I63b485a2fd0da068a44726ab900b6413dd54cbb3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions