From 716ed94ca1f8f3c63b8016b3e9d60d6693d2693d Mon Sep 17 00:00:00 2001 From: McLoo Date: Thu, 6 Aug 2015 00:48:08 +0200 Subject: [PATCH] Fix notification repeat by adding an undeniable truth Until now we use the reminderCount as threadId and afterwards we updateNotification with a repeat count of always 0 Fixes #3893 Closes #3896 --- .../thoughtcrime/securesms/notifications/MessageNotifier.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index ff32c9fdda..feee947001 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -419,7 +419,7 @@ public class MessageNotifier { public void onReceive(Context context, Intent intent) { MasterSecret masterSecret = KeyCachingService.getMasterSecret(context); int reminderCount = intent.getIntExtra("reminder_count", 0); - MessageNotifier.updateNotification(context, masterSecret, true, reminderCount + 1); + MessageNotifier.updateNotification(context, masterSecret, true, true, reminderCount + 1); } }