summaryrefslogtreecommitdiffstats
path: root/test-runner/src/android/test
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2014-07-14 22:44:30 -0700
committerJeff Sharkey <jsharkey@android.com>2014-07-14 23:06:52 -0700
commit6c833e07a05c48ca60ee4d72421bf8b1e78dc710 (patch)
treef16f3c2a12dea6fd5131d82d007fd75cd61fb915 /test-runner/src/android/test
parent5c6a8e322227354acbded5c49f44c0b289021bf5 (diff)
downloadframeworks_base-6c833e07a05c48ca60ee4d72421bf8b1e78dc710.zip
frameworks_base-6c833e07a05c48ca60ee4d72421bf8b1e78dc710.tar.gz
frameworks_base-6c833e07a05c48ca60ee4d72421bf8b1e78dc710.tar.bz2
Public API for PackageInstaller!
Flesh out documentation and finalize first cut of API. Also surface installLocation and splitNames through PackageInfo. Bug: 14975160, 15348430 Change-Id: Ic27696d20ed06e508aa3526218e9cb20835af6a0
Diffstat (limited to 'test-runner/src/android/test')
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java
index a14714a..ade8fba 100644
--- a/test-runner/src/android/test/mock/MockPackageManager.java
+++ b/test-runner/src/android/test/mock/MockPackageManager.java
@@ -729,7 +729,13 @@ public class MockPackageManager extends PackageManager {
}
/** {@hide} */
- public PackageInstaller getPackageInstaller() {
+ public PackageInstaller getInstaller() {
+ throw new UnsupportedOperationException();
+ }
+
+ /** {@hide} */
+ @Override
+ public boolean isPackageAvailable(String packageName) {
throw new UnsupportedOperationException();
}