From 529f91fc8e7e884ef19bef8eb3e4e3a1d69336f4 Mon Sep 17 00:00:00 2001 From: Jeff Sharkey Date: Sat, 18 Apr 2015 20:23:13 -0700 Subject: 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 --- test-runner/src/android/test/mock/MockPackageManager.java | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'test-runner') 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(); } -- cgit v1.1