VideoPlayer: save media index when leaving app.
On some low performance devices, when leaving the app, the paused service will be killed, and respawned when the app is restarted. As the medialist was saved but not the index, resuming would go to the 1st media in the saved medialist. This saves the media index also. Fixes #2705 (cherry picked from commit 72ed2534)
Showing
- application/vlc-android/src/org/videolan/vlc/PlaybackService.kt 3 additions, 3 deletions...ation/vlc-android/src/org/videolan/vlc/PlaybackService.kt
- application/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt 6 additions, 1 deletion...oid/src/org/videolan/vlc/gui/video/VideoPlayerActivity.kt
- application/vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt 2 additions, 2 deletions...vlc-android/src/org/videolan/vlc/media/PlaylistManager.kt
Loading
Please register or sign in to comment