diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0e2bfbe55..dd82c2fe2 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -702,6 +702,7 @@ android:exported="false"> + diff --git a/src/com/android/email/NotificationController.java b/src/com/android/email/NotificationController.java index a81bb025c..08b071a23 100644 --- a/src/com/android/email/NotificationController.java +++ b/src/com/android/email/NotificationController.java @@ -701,8 +701,8 @@ public class NotificationController { // TODO: we don't always want getAttention to be true, but we don't necessarily have a // good heuristic for when it should or shouldn't be. - NotificationUtils.setNewEmailIndicator(context, unreadCount, unseenCount, account, folder, - true /* getAttention */); + NotificationUtils.sendSetNewEmailIndicatorIntent(context, unreadCount, unseenCount, + account, folder, true /* getAttention */); } private static void refreshAllNotifications(final Context context) { @@ -721,7 +721,8 @@ public class NotificationController { } private static void refreshAllNotificationsInternal(final Context context) { - NotificationUtils.resendNotifications(context, false, null, null); + NotificationUtils.resendNotifications( + context, false, null, null, null /* ContactPhotoFetcher */); } /**