Add Thunderbird support

This commit is contained in:
Jack Wilsdon
2026-05-19 23:53:38 +01:00
parent 3c848e6ac0
commit 51b305fb04
3 changed files with 7 additions and 2 deletions
+1
View File
@@ -16,6 +16,7 @@
* Prevent crash on devices without GPS
* Xiaomi-protobuf: Fix alarm notifications
* Xiaomi-protobuf: Fix watchface management
* Recognize Thunderbird for Android as email and ignore its summary notifications
#### 0.91.1
@@ -482,9 +482,9 @@ public class NotificationListener extends NotificationListenerService {
notificationSpec.category = notification.category;
//FIXME: some quirks lookup table would be the minor evil here
if (source.startsWith("com.fsck.k9")) {
if (source.startsWith("com.fsck.k9") || source.startsWith("net.thunderbird.android")) {
if (NotificationCompat.isGroupSummary(notification)) {
LOG.info("ignore K9 group summary");
LOG.info("ignore K9/Thunderbird group summary");
return;
}
}
@@ -42,6 +42,10 @@ public class AppNotificationType extends HashMap<String, NotificationType> {
put("ch.protonmail.android", NotificationType.GENERIC_EMAIL);
put("security.pEp", NotificationType.GENERIC_EMAIL);
put("eu.faircode.email", NotificationType.GENERIC_EMAIL);
put("net.thunderbird.android", NotificationType.GENERIC_EMAIL);
put("net.thunderbird.android.beta", NotificationType.GENERIC_EMAIL);
put("net.thunderbird.android.daily", NotificationType.GENERIC_EMAIL);
put("net.thunderbird.android.debug", NotificationType.GENERIC_EMAIL);
// Generic SMS
put("com.moez.QKSMS", NotificationType.GENERIC_SMS);