Video time never saved when playing in background
Description
When a video is played in background (Settings > Video 'Background/PiP mode': Play videos in background), we never call PlaylistManager.saveMediaMeta()
so the progress is lost.
OP: https://forum.videolan.org/viewtopic.php?f=35&t=159135
Expected behavior
The progress is saved
Steps to reproduce
- Enable Settings > Video 'Background/PiP mode': Play videos in background
- Play a video
- Turn the screen off
- Switch to npause
- Slide the notification
- Return to the app: the progress is not saved
Screenshot / video
Context
App version
3.4.3
Android version
Device model
App mode
Smartphone