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
fork-5.53.8
McLoo 2015-08-06 00:48:08 +02:00 zatwierdzone przez Moxie Marlinspike
rodzic 5fe1a28954
commit 716ed94ca1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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