mirror of
https://codeberg.org/tom79/Fedilab.git
synced 2025-01-07 00:20:08 +02:00
Fix issue #490 - Remove grouped notifications for Android 5 & 6
This commit is contained in:
parent
9c728f24c3
commit
9d864857da
1 changed files with 4 additions and 1 deletions
|
@ -1610,8 +1610,11 @@ public class Helper {
|
||||||
.setGroup(account.mastodon_account != null ? account.mastodon_account.username + "@" + account.instance : "" + "@" + account.instance)
|
.setGroup(account.mastodon_account != null ? account.mastodon_account.username + "@" + account.instance : "" + "@" + account.instance)
|
||||||
.setGroupSummary(true)
|
.setGroupSummary(true)
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
notificationManager.notify(notificationId++, notificationBuilder.build());
|
notificationManager.notify(notificationId++, notificationBuilder.build());
|
||||||
notificationManager.notify(0, summaryNotification);
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N_MR1) {
|
||||||
|
notificationManager.notify(0, summaryNotification);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void transfertIfExist(Context context) {
|
public static void transfertIfExist(Context context) {
|
||||||
|
|
Loading…
Reference in a new issue