mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +01:00
Ignore org.fossify.messages. It is SMS
This commit is contained in:
parent
1450219351
commit
21f8b88746
@ -960,7 +960,8 @@ public class NotificationListener extends NotificationListenerService {
|
|||||||
source.equals("com.android.mms") ||
|
source.equals("com.android.mms") ||
|
||||||
source.equals("com.sonyericsson.conversations") ||
|
source.equals("com.sonyericsson.conversations") ||
|
||||||
source.equals("com.android.messaging") ||
|
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"))) {
|
if (!"never".equals(prefs.getString("notification_mode_sms", "when_screen_off"))) {
|
||||||
LOG.info("Ignoring notification, it's an sms notification");
|
LOG.info("Ignoring notification, it's an sms notification");
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user