summaryrefslogtreecommitdiffstats
path: root/core/java/android/app
diff options
context:
space:
mode:
authorAnonymous Coward <nobody@android.com>2012-04-24 10:35:16 -0700
committerKenny Root <kroot@google.com>2012-05-07 16:34:49 -0700
commitceb1b0bfaea56251796b08c07b963de7403d84eb (patch)
treefea73b05f6b4d47da174eca362693958cf5d785a /core/java/android/app
parent476b03b0c0d5cae4d1b114c6f80858d59ba36cad (diff)
downloadframeworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.zip
frameworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.tar.gz
frameworks_base-ceb1b0bfaea56251796b08c07b963de7403d84eb.tar.bz2
Add encryption parameters to package installation
Change-Id: Ic9f8ab9f8110f08bb3c00725cfce5b8ee7b766f3
Diffstat (limited to 'core/java/android/app')
-rw-r--r--core/java/android/app/ApplicationPackageManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/app/ApplicationPackageManager.java b/core/java/android/app/ApplicationPackageManager.java
index 0510de1..191a696 100644
--- a/core/java/android/app/ApplicationPackageManager.java
+++ b/core/java/android/app/ApplicationPackageManager.java
@@ -24,6 +24,7 @@ import android.content.IntentSender;
import android.content.pm.ActivityInfo;
import android.content.pm.ApplicationInfo;
import android.content.pm.ComponentInfo;
+import android.content.pm.ContainerEncryptionParams;
import android.content.pm.FeatureInfo;
import android.content.pm.IPackageDataObserver;
import android.content.pm.IPackageDeleteObserver;
@@ -973,10 +974,10 @@ final class ApplicationPackageManager extends PackageManager {
@Override
public void installPackageWithVerification(Uri packageURI, IPackageInstallObserver observer,
int flags, String installerPackageName, Uri verificationURI,
- ManifestDigest manifestDigest) {
+ ManifestDigest manifestDigest, ContainerEncryptionParams encryptionParams) {
try {
mPM.installPackageWithVerification(packageURI, observer, flags, installerPackageName,
- verificationURI, manifestDigest);
+ verificationURI, manifestDigest, encryptionParams);
} catch (RemoteException e) {
// Should never happen!
}