Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix media notification stuck issue #17742

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ class SyncMediaWorker(
}

Timber.d("SyncMediaWorker: success")
notificationManager.cancel(NotificationId.SYNC_MEDIA) // Pd8a3
return Result.success()
}

Expand All @@ -96,6 +97,7 @@ class SyncMediaWorker(
val status = backend.mediaSyncStatus()
if (!status.active) {
Timber.i("Ended media sync notification updates")
notificationManager.cancel(NotificationId.SYNC_MEDIA) // Pef99
break
}
// avoid sending repeated notifications
Expand Down
Loading