mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 03:46:00 +01:00
Added export progress notification
This commit is contained in:
@@ -76,6 +76,14 @@ class NotificationHelper {
|
||||
notification.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
|
||||
nm.createNotificationChannel(notification);
|
||||
|
||||
NotificationChannel progress = new NotificationChannel(
|
||||
"progress", context.getString(R.string.channel_progress),
|
||||
NotificationManager.IMPORTANCE_DEFAULT);
|
||||
notification.setDescription(context.getString(R.string.channel_progress_description));
|
||||
progress.setSound(null, Notification.AUDIO_ATTRIBUTES_DEFAULT);
|
||||
progress.setLockscreenVisibility(Notification.VISIBILITY_PRIVATE);
|
||||
nm.createNotificationChannel(progress);
|
||||
|
||||
// Update
|
||||
if (!Helper.isPlayStoreInstall()) {
|
||||
NotificationChannel update = new NotificationChannel(
|
||||
|
||||
Reference in New Issue
Block a user