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

Conversation

Leadernelson
Copy link

Fixes #17639

Add code to dismiss the syncing media notification after the media sync is complete.

  • Add notificationManager.cancel(NotificationId.SYNC_MEDIA) in SyncMediaWorker to cancel the notification after the media sync is complete.
  • Modify monitorProgress in SyncMediaWorker to dismiss the notification when the sync is complete.

Fixes ankidroid#17639

Add code to dismiss the syncing media notification after the media sync is complete.

* Add `notificationManager.cancel(NotificationId.SYNC_MEDIA)` in `SyncMediaWorker` to cancel the notification after the media sync is complete.
* Modify `monitorProgress` in `SyncMediaWorker` to dismiss the notification when the sync is complete.
Copy link
Member

@BrayanDSO BrayanDSO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry, but there is an open PR for that issue, which was reviewed just yesterday.

Be welcome to work on any other that hasn't someone assigned or an open PR

@BrayanDSO BrayanDSO closed this Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syncing media notification gets stuck sometimes
2 participants