summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/6
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-10-06 15:14:27 -0700
committerJeff Sharkey <jsharkey@android.com>2014-10-06 16:38:15 -0700
commit02bd78490d8594d225ecc70a74b2058cb968a657 (patch)
tree38e0cc39b71a7db53a1dfd227a8ad9a0df2b1fbe /docs/html/sdk/api_diff/6
parent71c4578def00a5a4b9e159fd1ab88e616bc7e159 (diff)
Reduce PackageInstaller I/O pressure.
When performing a restore during initial device setup, we could be installing hundreds of packages. Currently, we're writing all metadata (including heavy icons) for every session mutation! Because we're holding the mSessions lock while writing all this heavy data, we end up causing ANRs when apps call other PackageInstaller APIs. This patch mitigates by moving the heavy icon data into separate per-session PNG files, which we only persist when changed. Bug: 17881962, 17567794 Change-Id: I4dee15d4a65a8eb65c381e6bb7477728b6cc30d2
Diffstat (limited to 'docs/html/sdk/api_diff/6')
0 files changed, 0 insertions, 0 deletions