summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2015-04-18 20:23:13 -0700
committerJeff Sharkey <jsharkey@android.com>2015-04-18 21:11:58 -0700
commit529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4 (patch)
tree463b7b5d9175e98402939a2bbfebd4f30899feac /test-runner
parent355df8f16ae4c428997d88ba86f1ce07e5eca35e (diff)
downloadframeworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.zip
frameworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.tar.gz
frameworks_base-529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4.tar.bz2
Always send volume UUID with installd commands.
Since packages can be moved to other volumes, all relevant commands to installd now require an explicit volume UUID parameter. Bug: 20275577 Change-Id: Ie84f5bc43c7aada5800b8d71692c7928b42b965e
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/src/android/test/mock/MockPackageManager.java15
1 files changed, 5 insertions, 10 deletions
diff --git a/test-runner/src/android/test/mock/MockPackageManager.java b/test-runner/src/android/test/mock/MockPackageManager.java
index 5a8c7ff..276b713 100644
--- a/test-runner/src/android/test/mock/MockPackageManager.java
+++ b/test-runner/src/android/test/mock/MockPackageManager.java
@@ -535,21 +535,16 @@ public class MockPackageManager extends PackageManager {
throw new UnsupportedOperationException();
}
- /**
- * @hide - to match hiding in superclass
- */
+ /** {@hide} */
@Override
- public void freeStorageAndNotify(
- long idealStorageSize, IPackageDataObserver observer) {
+ public void freeStorageAndNotify(String volumeUuid, long idealStorageSize,
+ IPackageDataObserver observer) {
throw new UnsupportedOperationException();
}
- /**
- * @hide - to match hiding in superclass
- */
+ /** {@hide} */
@Override
- public void freeStorage(
- long idealStorageSize, IntentSender pi) {
+ public void freeStorage(String volumeUuid, long idealStorageSize, IntentSender pi) {
throw new UnsupportedOperationException();
}