kopia lustrzana https://github.com/ryukoposting/Signal-Android
Do not show message notifications if disabled in settings.
rodzic
f6aaef1434
commit
1935b0ebdd
|
@ -271,6 +271,10 @@ public class DefaultMessageNotifier implements MessageNotifier {
|
||||||
int reminderCount,
|
int reminderCount,
|
||||||
@NonNull BubbleUtil.BubbleState defaultBubbleState)
|
@NonNull BubbleUtil.BubbleState defaultBubbleState)
|
||||||
{
|
{
|
||||||
|
if (!TextSecurePreferences.isNotificationsEnabled(context)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
boolean isReminder = reminderCount > 0;
|
boolean isReminder = reminderCount > 0;
|
||||||
Cursor telcoCursor = null;
|
Cursor telcoCursor = null;
|
||||||
Cursor pushCursor = null;
|
Cursor pushCursor = null;
|
||||||
|
|
Ładowanie…
Reference in New Issue