Unable to restore audio player from notification bar
Description
The resolution to defect #616 (closed) in merge request !1742 (merged) introduced additional logic for the videoBackground flag. When this flag is true, PlaybackService.sessionPendingIntent
returns a PendingIntent which does not restore the audio player.
Steps to reproduce
- Start audio playback and use app normally
- At some point the song changes and returns the wrong type of pendingintent
- Attempt to load VLC by pressing the media notification
- Audio player screen is not restored
Context
App version
3.6.x
App mode
Smartphone
Edited by Robert Stone