From bc806f65edc33f6eda0f475ac84e5e037a013a90 Mon Sep 17 00:00:00 2001 From: Suchi Amalapurapu Date: Wed, 17 Jun 2009 15:18:19 -0700 Subject: Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage. --- test-runner/android/test/mock/MockPackageManager.java | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'test-runner') diff --git a/test-runner/android/test/mock/MockPackageManager.java b/test-runner/android/test/mock/MockPackageManager.java index 399a053..d5cd6ef 100644 --- a/test-runner/android/test/mock/MockPackageManager.java +++ b/test-runner/android/test/mock/MockPackageManager.java @@ -16,7 +16,6 @@ package android.test.mock; -import android.app.PendingIntent; import android.content.ComponentName; import android.content.Intent; import android.content.IntentFilter; @@ -327,21 +326,12 @@ public class MockPackageManager extends PackageManager { long idealStorageSize, IPackageDataObserver observer) { throw new UnsupportedOperationException(); } - - /** - * @hide - to match hiding in superclass - */ - @Override - public void freeStorage( - long idealStorageSize, PendingIntent onFinishedIntent) { - throw new UnsupportedOperationException(); - } /** * @hide - to match hiding in superclass */ @Override - public void freeStorageWithIntent( + public void freeStorage( long idealStorageSize, IntentSender pi) { throw new UnsupportedOperationException(); } -- cgit v1.1