I am in the phase where I migrate my app from Exoplayer to jetpack Media3 and I want to stop my MediaSessionService once the user delete the notification but in the MediaNotification.Provider we could not catch the event when the user deletes the Notification all what we have is to setDeleteIntent and here I want to stop the Notification some solutions that i found like write a BroadcastReciever and do that in onRecieve() method but it looks for me over engineering. has anyone a soultion ?
Thanks in advance