Fix notification issues
We weren't setting the package in a couple places.
Change-Id: I504f9bf90760f1b147b326bedd771f70ecb23bf7
diff --git a/src/com/android/mail/utils/NotificationActionUtils.java b/src/com/android/mail/utils/NotificationActionUtils.java
index 2136620..208e0c1 100644
--- a/src/com/android/mail/utils/NotificationActionUtils.java
+++ b/src/com/android/mail/utils/NotificationActionUtils.java
@@ -643,6 +643,7 @@
private static PendingIntent createUndoTimeoutPendingIntent(
final Context context, final NotificationAction notificationAction) {
final Intent intent = new Intent(NotificationActionIntentService.ACTION_UNDO_TIMEOUT);
+ intent.setPackage(context.getPackageName());
intent.putExtra(
NotificationActionIntentService.EXTRA_NOTIFICATION_ACTION, notificationAction);
@@ -705,6 +706,7 @@
private static void markSeen(
final Context context, final Folder folder, final Conversation conversation) {
final Intent intent = new Intent(MailIntentService.ACTION_MARK_SEEN);
+ intent.setPackage(context.getPackageName());
intent.putExtra(MailIntentService.FOLDER_EXTRA, folder);
intent.putExtra(MailIntentService.CONVERSATION_EXTRA, conversation);