diff options
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | src/org/cyanogenmod/themes/provider/AppReceiver.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 9d19262..f759f2a 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -36,7 +36,7 @@ <data android:scheme="package" /> </intent-filter> <intent-filter> - <action android:name="android.intent.action.PACKAGE_BEING_REMOVED" /> + <action android:name="android.intent.action.PACKAGE_FULLY_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 d1504f6..cf0d1c3 100644 --- a/src/org/cyanogenmod/themes/provider/AppReceiver.java +++ b/src/org/cyanogenmod/themes/provider/AppReceiver.java @@ -36,7 +36,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_BEING_REMOVED)) { + } else if (intent.getAction().equals(Intent.ACTION_PACKAGE_FULLY_REMOVED)) { ThemePackageHelper.removePackage(context, pkgName); } else if (intent.getAction().equals(Intent.ACTION_PACKAGE_REPLACED)) { if (themeExistsInProvider(context, pkgName)) { |