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

// FREEBIE
pull/1/head
Moxie Marlinspike 9 years ago
parent c418ca1890
commit 16e258bdbc

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

Loading…
Cancel
Save