summaryrefslogtreecommitdiffstats
path: root/test-runner
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2009-06-17 15:18:19 -0700
committerSuchi Amalapurapu <asuchitra@google.com>2009-06-19 10:25:37 -0700
commitbc806f65edc33f6eda0f475ac84e5e037a013a90 (patch)
tree086604fbc605d4b416e85b565227ffb7e489d1d7 /test-runner
parent2b1aed1021fb472de83c4c0143f2c4452244a0af (diff)
downloadframeworks_base-bc806f65edc33f6eda0f475ac84e5e037a013a90.zip
frameworks_base-bc806f65edc33f6eda0f475ac84e5e037a013a90.tar.gz
frameworks_base-bc806f65edc33f6eda0f475ac84e5e037a013a90.tar.bz2
Remove deprecated api. Aptly rename freeStorageWithIntent to freeStorage.
Diffstat (limited to 'test-runner')
-rw-r--r--test-runner/android/test/mock/MockPackageManager.java12
1 files changed, 1 insertions, 11 deletions
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();
}