summaryrefslogtreecommitdiff
path: root/tools/aapt2/diff/Diff.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2016-11-22 15:49:07 +0000
committerNarayan Kamath <narayan@google.com>2016-11-29 10:50:53 +0000
commitbdcdeb4cc470130db9ddb7abe7763c2170755e22 (patch)
tree6351069fc869ef6878e2639eab1c43bd2e471c1e /tools/aapt2/diff/Diff.cpp
parent4aab5717578d52e3bf4db05932813c5b70b31b19 (diff)
PackageManager: Avoid unnecessary calls to derivePackageAbi during boot scans
In most cases, we can safely use the values from package settings instead. We do the work when we're in the middle of an upgrade or the first boot, since we have no choice. This saves about 200-400ms on package manager startup on a freshly wiped device with no app installs. Savings are likely to grow linearly with the number of installed apps. Bug: 22063656 Test: make + manual testing. Change-Id: I1b2bdc4df45f334620c1fb94d78276f0095d5ff8
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions