summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AndroidManifest.xml2
-rw-r--r--src/org/cyanogenmod/themes/provider/AppReceiver.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 8a89803..6a8b499 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -34,7 +34,7 @@
<data android:scheme="package" />
</intent-filter>
<intent-filter>
- <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
+ <action android:name="android.intent.action.PACKAGE_BEING_REMOVED" />
<action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
<category android:name="com.tmobile.intent.category.THEME_PACKAGE_INSTALL_STATE_CHANGE" />
diff --git a/src/org/cyanogenmod/themes/provider/AppReceiver.java b/src/org/cyanogenmod/themes/provider/AppReceiver.java
index 1a0835e..881ac21 100644
--- a/src/org/cyanogenmod/themes/provider/AppReceiver.java
+++ b/src/org/cyanogenmod/themes/provider/AppReceiver.java
@@ -34,7 +34,7 @@ public class AppReceiver extends BroadcastReceiver {
try {
if (intent.getAction().equals(Intent.ACTION_PACKAGE_ADDED) && !isReplacing) {
ThemePackageHelper.insertPackage(context, pkgName);
- } else if (intent.getAction().equals(Intent.ACTION_PACKAGE_FULLY_REMOVED)) {
+ } else if (intent.getAction().equals(Intent.ACTION_PACKAGE_BEING_REMOVED)) {
ThemePackageHelper.removePackage(context, pkgName);
} else if (intent.getAction().equals(Intent.ACTION_PACKAGE_REPLACED)) {
ThemePackageHelper.updatePackage(context, pkgName);