diff options
author | Jacek Surazski <jaceks@google.com> | 2009-04-28 15:26:38 +0200 |
---|---|---|
committer | Jacek Surazski <jaceks@google.com> | 2009-05-12 10:48:27 +0200 |
commit | 65e13171e12cb9e9fc2f608d0c8a92cd3c098648 (patch) | |
tree | 99faa0eca90516b12ec085f622cf55403522bad0 /test-runner | |
parent | 21fa8d31f4a686143090fb8597b6c4297081d7ca (diff) | |
download | frameworks_base-65e13171e12cb9e9fc2f608d0c8a92cd3c098648.zip frameworks_base-65e13171e12cb9e9fc2f608d0c8a92cd3c098648.tar.gz frameworks_base-65e13171e12cb9e9fc2f608d0c8a92cd3c098648.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 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index ea190e2..20929a3 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -286,7 +286,12 @@ public class MockPackageManager extends PackageManager { @Override public void installPackage(Uri packageURI, IPackageInstallObserver observer, - int flags) { + int flags, String installerPackageName) { + throw new UnsupportedOperationException(); + } + + @Override + public String getInstallerPackageName(String packageName) { throw new UnsupportedOperationException(); } |