made notifications only alert once

This commit is contained in:
Mariotaku Lee 2016-04-02 13:08:27 +08:00
parent 8ec9c1b776
commit 6b3918c682
1 changed files with 1 additions and 0 deletions

View File

@ -1491,6 +1491,7 @@ public final class TwidereDataProvider extends ContentProvider implements Consta
}
builder.setColor(pref.getNotificationLightColor());
builder.setDefaults(notificationDefaults);
builder.setOnlyAlertOnce(true);
}
private void showMessagesNotification(AccountPreferences pref, StringLongPair[] pairs, ContentValues[] valuesArray) {