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
This commit is contained in:
McLoo 2015-08-06 00:48:08 +02:00 committed by Moxie Marlinspike
parent 5fe1a28954
commit 716ed94ca1

View File

@ -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);
}
}