Skip to content
Commit 162be8a1 authored by liulvping's avatar liulvping Committed by Erik Wolsheimer
Browse files

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: default avatarliulvping <liulvping@xiaomi.com>
Change-Id: I63b485a2fd0da068a44726ab900b6413dd54cbb3
parent 2c973f16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment