diff options
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/src/android/test/mock/MockPackageManager.java | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java index 0399b3b..b1224d3 100644 --- a/test-runner/src/android/test/mock/MockPackageManager.java +++ b/test-runner/src/android/test/mock/MockPackageManager.java @@ -563,7 +563,17 @@ public class MockPackageManager extends PackageManager { @Override public void installPackageWithVerification(Uri packageURI, IPackageInstallObserver observer, int flags, String installerPackageName, Uri verificationURI, - ManifestDigest manifestDigest, ContainerEncryptionParams encryptionParams) { + ManifestDigest manifestDigest, ContainerEncryptionParams encryptionParams, + Uri originatingURI, Uri referrer) { + throw new UnsupportedOperationException(); + } + + /** + * @hide + */ + @Override + public void installPackageWithOrigin(Uri packageURI, IPackageInstallObserver observer, + int flags, String installerPackageName, Uri originatingURI, Uri referrer) { throw new UnsupportedOperationException(); } |