diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/cyngn/theme/chooser/AppReceiver.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/cyngn/theme/chooser/AppReceiver.java b/src/com/cyngn/theme/chooser/AppReceiver.java index 546539f..3b56397 100644 --- a/src/com/cyngn/theme/chooser/AppReceiver.java +++ b/src/com/cyngn/theme/chooser/AppReceiver.java @@ -24,7 +24,9 @@ public class AppReceiver extends BroadcastReceiver { String action = intent.getAction(); if (ThemesContract.Intent.ACTION_THEME_INSTALLED.equals(action)) { - NotificationHelper.postThemeInstalledNotification(context, pkgName); + if (!pkgName.equals(ThemeUtils.getDefaultThemePackageName(context))) { + NotificationHelper.postThemeInstalledNotification(context, pkgName); + } } else if (ThemesContract.Intent.ACTION_THEME_REMOVED.equals(action)) { // remove updated status for this theme (if one exists) PreferenceUtils.removeUpdatedTheme(context, pkgName); |