From 05a8436f7c68f5c5ffda1ca29c60eba71617f60c Mon Sep 17 00:00:00 2001 From: Andreas Shimokawa Date: Sun, 6 Dec 2015 16:09:07 +0100 Subject: [PATCH] Treat notifications from Signal as chat messages --- CHANGELOG.md | 1 + .../gadgetbridge/externalevents/NotificationListener.java | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bfac01514..067e50ae0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ###Changelog ####Next Version ++ Treat Signal notifications as chat notifications * Fix crash when contacts cannot be read on Android 6.0 (non-granted pemissions) ####Version 0.6.7 diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java index deec40347..7013235ef 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/externalevents/NotificationListener.java @@ -204,6 +204,7 @@ public class NotificationListener extends NotificationListenerService { notificationSpec.type = NotificationType.SMS; break; case "eu.siacs.conversations": + case "org.thoughtcrime.securesms": notificationSpec.type = NotificationType.CHAT; break; case "org.indywidualni.fblite":