Stop MediaSessionService when the notification is deleted
Open
@tianyif is already working on this.
Since May 16, 2023.
needs triage
question
- Dominant language
- Java
- Stars
- 3k
- Forks
- 955
- Avg merge
- 12d 14h
- Merged PRs (30d)
- 2
Description
Hallo,
I want to ask what is the proper way to stop the service when the User deletes the Notification. The actual implementation sends Stop command to the service without stop it. Is there a way to stop the service when the User deletes the notification? Former I used to use the PlayerNotificationManager which has Listener to catch event when user delete notification, then I have the chance to execute where ever the code what I want. NOW I want to use the MediaNotification.Provider and here I have only chance to send Intent.
Thanks in advance and thanks for support
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.