mirror of
https://github.com/videolan/vlc-android
synced 2024-12-12 03:07:05 +08:00
Album/playlist: respect audio playlist mode
Playing a media from HeaderMedialistActivity should respect the audio playlist mode setting
This commit is contained in:
parent
7c5f6795b8
commit
7d714f3a06
@ -342,7 +342,10 @@ open class HeaderMediaListActivity : AudioPlayerContainerActivity(), IEventsHand
|
||||
invalidateActionMode()
|
||||
} else {
|
||||
if (searchView.visibility == View.VISIBLE) UiTools.setKeyboardVisibility(v, false)
|
||||
MediaUtils.playTracks(this, viewModel.tracksProvider, position)
|
||||
if (Settings.getInstance(this).getBoolean(FORCE_PLAY_ALL_AUDIO, false))
|
||||
MediaUtils.playTracks(this, viewModel.tracksProvider, position)
|
||||
else
|
||||
MediaUtils.openMedia(this, item as MediaWrapper)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user