Only schedule a reminder if it's an alerting notification.

// FREEBIE
fork-5.53.8
Moxie Marlinspike 2015-09-09 16:51:55 -07:00
rodzic c418ca1890
commit 16e258bdbc
1 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -174,7 +174,10 @@ public class MessageNotifier {
}
updateBadge(context, notificationState.getMessageCount());
scheduleReminder(context, reminderCount);
if (signal) {
scheduleReminder(context, reminderCount);
}
} finally {
if (telcoCursor != null) telcoCursor.close();
if (pushCursor != null) pushCursor.close();