Skip to content

VideoPlayer: fix wrong index when starting cast

Duncan McNamara requested to merge Skantes/vlc-android:chrome-queue into master

In onSaveInstanceState, without a currentMediaList we would default to savedMediaList, but without a currentIndex, we would default to 0 and not to savedMediaIndex. When restarting the videoplayer, we do have a savedInstanceState in the on create that is used to reload the previous medialist, but it only reloaded 0.

Merge request reports

Loading