diff options
author | Jacek Surazski <jaceks@google.com> | 2009-04-28 15:26:38 +0200 |
---|---|---|
committer | Jacek Surazski <jaceks@google.com> | 2009-05-12 23:16:20 +0200 |
commit | c64322c35212e919906ffd66118c7d5d3ad36636 (patch) | |
tree | 846d1a95480c87f18975245ceea201535e23c553 /test-runner | |
parent | 3e3439d5ba0cf5eda060c4991219c32af917fc5b (diff) | |
download | frameworks_base-c64322c35212e919906ffd66118c7d5d3ad36636.zip frameworks_base-c64322c35212e919906ffd66118c7d5d3ad36636.tar.gz frameworks_base-c64322c35212e919906ffd66118c7d5d3ad36636.tar.bz2 |
PackageManager keeps track of who installed what.
Stores the package name of the installer app in packages.xml
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/android/test/mock/MockPackageManager.java | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index ea190e2..4769057 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -286,7 +286,15 @@ public class MockPackageManager extends PackageManager { @Override public void installPackage(Uri packageURI, IPackageInstallObserver observer, - int flags) { + int flags, String installerPackageName) { + throw new UnsupportedOperationException(); + } + + /** + * @hide - to match hiding in superclass + */ + @Override + public String getInstallerPackageName(String packageName) { throw new UnsupportedOperationException(); } |