summaryrefslogtreecommitdiffstats
path: root/core/java/android/app
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 /core/java/android/app
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 'core/java/android/app')
-rw-r--r--core/java/android/app/ApplicationContext.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/core/java/android/app/ApplicationContext.java b/core/java/android/app/ApplicationContext.java
index bbad8f4..658baee 100644
--- a/core/java/android/app/ApplicationContext.java
+++ b/core/java/android/app/ApplicationContext.java
@@ -2358,22 +2358,13 @@ class ApplicationContext extends Context {
}
@Override
- public void freeStorage(long freeStorageSize, PendingIntent pi) {
+ public void freeStorage(long freeStorageSize, IntentSender pi) {
try {
mPM.freeStorage(freeStorageSize, pi);
} catch (RemoteException e) {
// Should never happen!
}
}
-
- @Override
- public void freeStorageWithIntent(long freeStorageSize, IntentSender pi) {
- try {
- mPM.freeStorageWithIntent(freeStorageSize, pi);
- } catch (RemoteException e) {
- // Should never happen!
- }
- }
@Override
public void getPackageSizeInfo(String packageName,