summaryrefslogtreecommitdiffstats
path: root/keystore
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-09-17 18:15:10 -0700
committerJeff Sharkey <jsharkey@android.com>2015-09-17 19:13:40 -0700
commite1a6299b994bbdb304550e00d5b3b26a064bdf0c (patch)
treeb794743ce81ef7ff81bd256d03d11db5210af11d /keystore
parentad0acf1d104988238f431d874f0ecf9917a06699 (diff)
downloadframeworks_base-e1a6299b994bbdb304550e00d5b3b26a064bdf0c.zip
frameworks_base-e1a6299b994bbdb304550e00d5b3b26a064bdf0c.tar.gz
frameworks_base-e1a6299b994bbdb304550e00d5b3b26a064bdf0c.tar.bz2
Relax locking when scanning private volumes.
Private volumes with many large apps can take a long time to scan, which currently happens on the main thread with several large locks held, making it likely to trigger the system-wide watchdog. This change relaxes this locking by scanning on the PackageManager worker thread, and by only holding locks when required. In particular, we release the installer lock between each scan to give other apps waiting to dexopt a chance to breathe. Bug: 24172036 Change-Id: Ie28d3ff72d6be28fa2f72c57d5e4146c768df89d
Diffstat (limited to 'keystore')
0 files changed, 0 insertions, 0 deletions