Loading app/core/src/main/java/com/fsck/k9/notification/AuthenticationErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ class AuthenticationErrorNotifications { String text = resourceProvider.authenticationErrorBody(account.getDescription()); NotificationCompat.Builder builder = notificationHelper .createNotificationBuilder(account, NotificationChannelUtils.Type.OTHER) .createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MISCELLANEOUS) .setSmallIcon(resourceProvider.getIconWarning()) .setWhen(System.currentTimeMillis()) .setAutoCancel(true) Loading app/core/src/main/java/com/fsck/k9/notification/BaseNotifications.java +2 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,8 @@ abstract class BaseNotifications { } protected NotificationCompat.Builder createAndInitializeNotificationBuilder(Account account) { return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.Type.MESSAGES) return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MESSAGES) .setSmallIcon(getNewMailNotificationIcon()) .setColor(account.getChipColor()) .setWhen(System.currentTimeMillis()) Loading app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class CertificateErrorNotifications { String text = resourceProvider.certificateErrorBody(); NotificationCompat.Builder builder = notificationHelper .createNotificationBuilder(account, NotificationChannelUtils.Type.OTHER) .createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MISCELLANEOUS) .setSmallIcon(resourceProvider.getIconWarning()) .setWhen(System.currentTimeMillis()) .setAutoCancel(true) Loading app/core/src/main/java/com/fsck/k9/notification/CoreKoinModule.kt +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,8 @@ import org.koin.dsl.module.applicationContext val coreNotificationModule = applicationContext { bean { NotificationController(get(), get(), get(), get(), get()) } bean { NotificationManagerCompat.from(get()) } bean { NotificationHelper(get(), get()) } bean { NotificationHelper(get(), get(), get()) } bean { NotificationChannelUtils(get(), get()) } bean { CertificateErrorNotifications(get(), get(), get()) } bean { AuthenticationErrorNotifications(get(), get(), get()) } bean { SyncNotifications(get(), get(), get()) } Loading app/core/src/main/java/com/fsck/k9/notification/LockScreenNotification.java +2 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,8 @@ class LockScreenNotification { int unreadCount = notificationData.getUnreadMessageCount(); String title = resourceProvider.newMessagesTitle(newMessages); return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.Type.MESSAGES) return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MESSAGES) .setSmallIcon(resourceProvider.getIconNewMail()) .setColor(account.getChipColor()) .setNumber(unreadCount) Loading Loading
app/core/src/main/java/com/fsck/k9/notification/AuthenticationErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ class AuthenticationErrorNotifications { String text = resourceProvider.authenticationErrorBody(account.getDescription()); NotificationCompat.Builder builder = notificationHelper .createNotificationBuilder(account, NotificationChannelUtils.Type.OTHER) .createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MISCELLANEOUS) .setSmallIcon(resourceProvider.getIconWarning()) .setWhen(System.currentTimeMillis()) .setAutoCancel(true) Loading
app/core/src/main/java/com/fsck/k9/notification/BaseNotifications.java +2 −1 Original line number Diff line number Diff line Loading @@ -53,7 +53,8 @@ abstract class BaseNotifications { } protected NotificationCompat.Builder createAndInitializeNotificationBuilder(Account account) { return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.Type.MESSAGES) return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MESSAGES) .setSmallIcon(getNewMailNotificationIcon()) .setColor(account.getChipColor()) .setWhen(System.currentTimeMillis()) Loading
app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java +1 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,7 @@ class CertificateErrorNotifications { String text = resourceProvider.certificateErrorBody(); NotificationCompat.Builder builder = notificationHelper .createNotificationBuilder(account, NotificationChannelUtils.Type.OTHER) .createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MISCELLANEOUS) .setSmallIcon(resourceProvider.getIconWarning()) .setWhen(System.currentTimeMillis()) .setAutoCancel(true) Loading
app/core/src/main/java/com/fsck/k9/notification/CoreKoinModule.kt +2 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,8 @@ import org.koin.dsl.module.applicationContext val coreNotificationModule = applicationContext { bean { NotificationController(get(), get(), get(), get(), get()) } bean { NotificationManagerCompat.from(get()) } bean { NotificationHelper(get(), get()) } bean { NotificationHelper(get(), get(), get()) } bean { NotificationChannelUtils(get(), get()) } bean { CertificateErrorNotifications(get(), get(), get()) } bean { AuthenticationErrorNotifications(get(), get(), get()) } bean { SyncNotifications(get(), get(), get()) } Loading
app/core/src/main/java/com/fsck/k9/notification/LockScreenNotification.java +2 −1 Original line number Diff line number Diff line Loading @@ -88,7 +88,8 @@ class LockScreenNotification { int unreadCount = notificationData.getUnreadMessageCount(); String title = resourceProvider.newMessagesTitle(newMessages); return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.Type.MESSAGES) return notificationHelper.createNotificationBuilder(account, NotificationChannelUtils.ChannelType.MESSAGES) .setSmallIcon(resourceProvider.getIconNewMail()) .setColor(account.getChipColor()) .setNumber(unreadCount) Loading