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
Loading
Please register or sign in to comment