Home | History | Annotate | Download | only in mail

Lines Matching refs:NotificationAction

32 import com.android.mail.utils.NotificationActionUtils.NotificationAction;
71 private static void logNotificationAction(String intentAction, NotificationAction action) {
96 * to add some extra data, it must unparcel the NotificationAction object. It throws a
100 final NotificationAction notificationAction;
106 notificationAction = NotificationAction.CREATOR.createFromParcel(in,
107 NotificationAction.class.getClassLoader());
109 LogUtils.wtf(LOG_TAG, "data was null trying to unparcel the NotificationAction");
113 final Message message = notificationAction.getMessage();
119 logNotificationAction(action, notificationAction);
121 if (notificationAction.getSource() == NotificationAction.SOURCE_REMOTE) {
124 LogUtils.d(LOG_TAG, "Canceling %s", notificationAction.getNotificationId());
125 NotificationManagerCompat.from(context).cancel(notificationAction.getNotificationId());
126 NotificationActionUtils.processDestructiveAction(this, notificationAction);
127 NotificationActionUtils.resendNotifications(context, notificationAction.getAccount(),
128 notificationAction.getFolder());
133 NotificationActionUtils.cancelUndoTimeout(context, notificationAction);
134 NotificationActionUtils.cancelUndoNotification(context, notificationAction);
137 NotificationActionUtils.createUndoNotification(context, notificationAction);
139 NotificationActionUtils.registerUndoTimeout(context, notificationAction);
143 NotificationActionUtils.cancelUndoTimeout(this, notificationAction);
144 NotificationActionUtils.processUndoNotification(this, notificationAction);
154 NotificationActionUtils.resendNotifications(context, notificationAction.getAccount(),
155 notificationAction.getFolder());