Ignore org.fossify.messages. It is SMS

This commit is contained in:
Me7c7 2025-01-04 12:36:08 +02:00 committed by José Rebelo
parent 1450219351
commit 21f8b88746

View File

@ -960,7 +960,8 @@ public class NotificationListener extends NotificationListenerService {
source.equals("com.android.mms") ||
source.equals("com.sonyericsson.conversations") ||
source.equals("com.android.messaging") ||
source.equals("org.smssecure.smssecure")) {
source.equals("org.smssecure.smssecure") ||
source.equals("org.fossify.messages")) {
if (!"never".equals(prefs.getString("notification_mode_sms", "when_screen_off"))) {
LOG.info("Ignoring notification, it's an sms notification");
return true;