summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorJacek Surazski <jaceks@google.com>2009-04-28 15:26:38 +0200
committerJacek Surazski <jaceks@google.com>2009-05-12 10:48:27 +0200
commit65e13171e12cb9e9fc2f608d0c8a92cd3c098648 (patch)
tree99faa0eca90516b12ec085f622cf55403522bad0 /test-runner
parent21fa8d31f4a686143090fb8597b6c4297081d7ca (diff)
downloadframeworks_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.java7
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();
}