Loading k9mail/src/main/java/com/fsck/k9/notification/BaseNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,6 +71,6 @@ abstract class BaseNotifications { private int getNewMailNotificationIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } } k9mail/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class CertificateErrorNotifications { private int getCertificateErrorNotificationIcon() { //TODO: Use a different icon for certificate error notifications return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } private NotificationManagerCompat getNotificationManager() { Loading k9mail/src/main/java/com/fsck/k9/notification/DeviceNotifications.java +3 −3 Original line number Diff line number Diff line Loading @@ -240,17 +240,17 @@ class DeviceNotifications extends BaseNotifications { private int getMarkAsReadActionIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_action_mark_as_read_dark_vector : R.drawable.ic_action_mark_as_read_dark; R.drawable.notification_action_mark_as_read : R.drawable.ic_action_mark_as_read_dark; } private int getDeleteActionIcon() { return NotificationController.platformSupportsLockScreenNotifications() ? R.drawable.ic_action_delete_dark_vector : R.drawable.ic_action_delete_dark; R.drawable.notification_action_delete : R.drawable.ic_action_delete_dark; } private int getReplyActionIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_action_single_message_options_dark_vector : R.drawable.notification_action_reply : R.drawable.ic_action_single_message_options_dark; } Loading k9mail/src/main/java/com/fsck/k9/notification/LockScreenNotification.java +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ class LockScreenNotification { newMessages, newMessages); return controller.createNotificationBuilder() .setSmallIcon(R.drawable.ic_notify_new_mail_vector) .setSmallIcon(R.drawable.notification_icon_new_mail) .setColor(account.getChipColor()) .setNumber(unreadCount) .setContentTitle(title); Loading k9mail/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class SendFailedNotifications { private int getSendFailedNotificationIcon() { //TODO: Use a different icon for send failure notifications return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } private NotificationManagerCompat getNotificationManager() { Loading Loading
k9mail/src/main/java/com/fsck/k9/notification/BaseNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -71,6 +71,6 @@ abstract class BaseNotifications { private int getNewMailNotificationIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } }
k9mail/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -66,7 +66,7 @@ class CertificateErrorNotifications { private int getCertificateErrorNotificationIcon() { //TODO: Use a different icon for certificate error notifications return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } private NotificationManagerCompat getNotificationManager() { Loading
k9mail/src/main/java/com/fsck/k9/notification/DeviceNotifications.java +3 −3 Original line number Diff line number Diff line Loading @@ -240,17 +240,17 @@ class DeviceNotifications extends BaseNotifications { private int getMarkAsReadActionIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_action_mark_as_read_dark_vector : R.drawable.ic_action_mark_as_read_dark; R.drawable.notification_action_mark_as_read : R.drawable.ic_action_mark_as_read_dark; } private int getDeleteActionIcon() { return NotificationController.platformSupportsLockScreenNotifications() ? R.drawable.ic_action_delete_dark_vector : R.drawable.ic_action_delete_dark; R.drawable.notification_action_delete : R.drawable.ic_action_delete_dark; } private int getReplyActionIcon() { return controller.platformSupportsVectorDrawables() ? R.drawable.ic_action_single_message_options_dark_vector : R.drawable.notification_action_reply : R.drawable.ic_action_single_message_options_dark; } Loading
k9mail/src/main/java/com/fsck/k9/notification/LockScreenNotification.java +1 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,7 @@ class LockScreenNotification { newMessages, newMessages); return controller.createNotificationBuilder() .setSmallIcon(R.drawable.ic_notify_new_mail_vector) .setSmallIcon(R.drawable.notification_icon_new_mail) .setColor(account.getChipColor()) .setNumber(unreadCount) .setContentTitle(title); Loading
k9mail/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ class SendFailedNotifications { private int getSendFailedNotificationIcon() { //TODO: Use a different icon for send failure notifications return controller.platformSupportsVectorDrawables() ? R.drawable.ic_notify_new_mail_vector : R.drawable.ic_notify_new_mail; R.drawable.notification_icon_new_mail : R.drawable.ic_notify_new_mail; } private NotificationManagerCompat getNotificationManager() { Loading