commit | 162be8a14025fe0f0424854f9cf641918e2e7ad7 | [log] [tgz] |
---|---|---|
author | liulvping <liulvping@xiaomi.com> | Tue Mar 16 09:45:34 2021 +0800 |
committer | Erik Wolsheimer <ewol@google.com> | Wed Apr 14 17:12:04 2021 +0000 |
tree | 65ce9450b2404748bdc577ab7343d3f09df92237 | |
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