summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2013-04-02 21:35:57 (GMT)
committerKenny Root <kroot@google.com>2013-04-02 21:37:08 (GMT)
commit8d3437fe1be41c2cebdb81de8241d17dca0b8cab (patch)
tree84555ea2eceb0a9ffc3651483dedd866b70535ae
parent20aa01132b0d4bf3af891f9131fbe9a96c8fa708 (diff)
downloadandroid_packages_apps_PackageInstaller-8d3437fe1be41c2cebdb81de8241d17dca0b8cab.zip
android_packages_apps_PackageInstaller-8d3437fe1be41c2cebdb81de8241d17dca0b8cab.tar.gz
android_packages_apps_PackageInstaller-8d3437fe1be41c2cebdb81de8241d17dca0b8cab.tar.bz2
Use direct call to get ManifestDigest
This speeds up startup of PackageInstaller since it doesn't have to read all the data. Bug: 8528639 Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
-rw-r--r--src/com/android/packageinstaller/PackageUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/packageinstaller/PackageUtil.java b/src/com/android/packageinstaller/PackageUtil.java
index 5263b71..650e7fb 100644
--- a/src/com/android/packageinstaller/PackageUtil.java
+++ b/src/com/android/packageinstaller/PackageUtil.java
@@ -75,7 +75,7 @@ public class PackageUtil {
if (pkg == null) {
return null;
}
- if (!packageParser.collectCertificates(pkg, 0)) {
+ if (!packageParser.collectManifestDigest(pkg)) {
return null;
}
return pkg;