mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-22 18:55:12 +00:00
Do not show message notifications if disabled in settings.
This commit is contained in:
@@ -271,6 +271,10 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||
int reminderCount,
|
||||
@NonNull BubbleUtil.BubbleState defaultBubbleState)
|
||||
{
|
||||
if (!TextSecurePreferences.isNotificationsEnabled(context)) {
|
||||
return;
|
||||
}
|
||||
|
||||
boolean isReminder = reminderCount > 0;
|
||||
Cursor telcoCursor = null;
|
||||
Cursor pushCursor = null;
|
||||
|
||||
Reference in New Issue
Block a user