Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Fix remove playing notification when app is swiped from recents#273

Merged
nic0lette merged 1 commit into
android:masterfrom
picklepickle1:fix-remove-notification
May 7, 2019
Merged

Fix remove playing notification when app is swiped from recents#273
nic0lette merged 1 commit into
android:masterfrom
picklepickle1:fix-remove-notification

Conversation

@picklepickle1
Copy link
Copy Markdown

@picklepickle1 picklepickle1 commented Mar 26, 2019

Fix GitHub issue #250
When I swipe UAMP away from recents, the removeNowPlayingNotification() isn't called because in the method updateNotification() the metadata is already null and this check returns without removing notification if(mediaController.metadata == null) return . So because of this notification is stuck in the notification tray and control icons also does not work.

@nic0lette
Copy link
Copy Markdown
Contributor

Thank you very much for the PR!

It'll probably take a bit of time for me to merge it, but I just wanted to let you know I saw it and it's on my list of things to do!

@nic0lette nic0lette merged commit cf82a0f into android:master May 7, 2019
nic0lette added a commit that referenced this pull request May 7, 2019
Merge branch 'fix-remove-notification' of
https://github.com/YuriPopiv/android-UniversalMusicPlayer
into YuriPopiv-fix-remove-notification

Change-Id: I504941efe37c349f7739aaae4eb6a4e523a474aa
nic0lette added a commit that referenced this pull request May 7, 2019
GitHub PR #273

Change-Id: Ifd5c1639e43d0a8842ad306a95d34c3441c2b4af
@nic0lette
Copy link
Copy Markdown
Contributor

Thanks again!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants