summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorSuchi Amalapurapu <asuchitra@google.com>2010-02-08 13:55:07 -0800
committerSuchi Amalapurapu <asuchitra@google.com>2010-02-08 13:56:16 -0800
commit07c61c6dbb805ab9aa60ceffd3bd1fb528a3dc65 (patch)
treeb3c5fd884607d15be0061e86013bc218272af8be /src/com
parentb8547bf12c53107219d7de786c234f165055e754 (diff)
downloadpackages_apps_settings-07c61c6dbb805ab9aa60ceffd3bd1fb528a3dc65.zip
packages_apps_settings-07c61c6dbb805ab9aa60ceffd3bd1fb528a3dc65.tar.gz
packages_apps_settings-07c61c6dbb805ab9aa60ceffd3bd1fb528a3dc65.tar.bz2
Rename broadcast for resources on sdcard
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/settings/ManageApplications.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/android/settings/ManageApplications.java b/src/com/android/settings/ManageApplications.java
index 0525dab..6de6c9c 100644
--- a/src/com/android/settings/ManageApplications.java
+++ b/src/com/android/settings/ManageApplications.java
@@ -1559,8 +1559,8 @@ public class ManageApplications extends TabActivity implements
ManageApplications.this.registerReceiver(this, filter);
// Register for events related to sdcard installation.
IntentFilter sdFilter = new IntentFilter();
- sdFilter.addAction(Intent.ACTION_MEDIA_RESOURCES_AVAILABLE);
- sdFilter.addAction(Intent.ACTION_MEDIA_RESOURCES_UNAVAILABLE);
+ sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE);
+ sdFilter.addAction(Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE);
ManageApplications.this.registerReceiver(this, sdFilter);
}
@Override
@@ -1573,9 +1573,9 @@ public class ManageApplications extends TabActivity implements
Uri data = intent.getData();
String pkgName = data.getEncodedSchemeSpecificPart();
updatePackageList(actionStr, pkgName);
- } else if (Intent.ACTION_MEDIA_RESOURCES_AVAILABLE.equals(actionStr) ||
- Intent.ACTION_MEDIA_RESOURCES_UNAVAILABLE.equals(actionStr)) {
- boolean available = Intent.ACTION_MEDIA_RESOURCES_AVAILABLE.equals(actionStr);
+ } else if (Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(actionStr) ||
+ Intent.ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.equals(actionStr)) {
+ boolean available = Intent.ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.equals(actionStr);
String pkgList[] = intent.getStringArrayExtra(Intent.EXTRA_CHANGED_PACKAGE_LIST);
if (pkgList == null || pkgList.length == 0) {
// Ignore