mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-16 10:41:25 +00:00
Only schedule a reminder if it's an alerting notification.
// FREEBIE
This commit is contained in:
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…
x
Reference in New Issue
Block a user