diff --git a/app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java b/app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java index a8f4f865f..a5239b163 100644 --- a/app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java +++ b/app/core/src/main/java/com/fsck/k9/notification/CertificateErrorNotifications.java @@ -3,6 +3,7 @@ package com.fsck.k9.notification; import android.app.PendingIntent; import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigTextStyle; import androidx.core.app.NotificationManagerCompat; import com.fsck.k9.Account; @@ -40,6 +41,7 @@ class CertificateErrorNotifications { .setContentTitle(title) .setContentText(text) .setContentIntent(editServerSettingsPendingIntent) + .setStyle(new BigTextStyle().bigText(text)) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) .setCategory(NotificationCompat.CATEGORY_ERROR); diff --git a/app/core/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java b/app/core/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java index 660a50b9f..2bb63cd5e 100644 --- a/app/core/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java +++ b/app/core/src/main/java/com/fsck/k9/notification/SendFailedNotifications.java @@ -3,6 +3,7 @@ package com.fsck.k9.notification; import android.app.PendingIntent; import androidx.core.app.NotificationCompat; +import androidx.core.app.NotificationCompat.BigTextStyle; import androidx.core.app.NotificationManagerCompat; import com.fsck.k9.Account; @@ -42,6 +43,7 @@ class SendFailedNotifications { .setContentTitle(title) .setContentText(text) .setContentIntent(folderListPendingIntent) + .setStyle(new BigTextStyle().bigText(text)) .setVisibility(NotificationCompat.VISIBILITY_PUBLIC) .setCategory(NotificationCompat.CATEGORY_ERROR);