Merge pull request #1191 from deltachat/add-badge-count-hint

add comment about badge-count hint
This commit is contained in:
björn petersen
2019-12-24 00:54:01 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -54,7 +54,7 @@ public class MultipleRecipientNotificationBuilder extends AbstractNotificationBu
setSubText(context.getString(R.string.notify_n_messages_in_m_chats,
messageCount, chatCount));
setContentInfo(String.valueOf(messageCount));
setNumber(messageCount);
setNumber(messageCount); // this also sets badges on android8 and newer
}
void setMostRecentSender(Recipient recipient) {
@@ -92,7 +92,7 @@ public class SingleRecipientNotificationBuilder extends AbstractNotificationBuil
public void setMessageCount(int messageCount) {
setContentInfo(String.valueOf(messageCount));
setNumber(messageCount);
setNumber(messageCount); // this also sets badges on android8 and newer
}
public void setPrimaryMessageBody(@NonNull Recipient chatRecipients,