Prepare notification permissions

This commit is contained in:
M66B
2022-06-09 12:38:17 +02:00
parent 5b668cb5d0
commit 45b5afca61
14 changed files with 113 additions and 55 deletions

View File

@@ -1245,7 +1245,8 @@ public class FragmentFolders extends FragmentBase {
builder.setProgress(ids.size(), i, false);
Notification notification = builder.build();
notification.flags |= Notification.FLAG_NO_CLEAR;
nm.notify("export", NotificationHelper.NOTIFICATION_TAGGED, notification);
if (NotificationHelper.areNotificationsEnabled(nm))
nm.notify("export", NotificationHelper.NOTIFICATION_TAGGED, notification);
}
long id = ids.get(i);