feat(phone,exoplayer): allow audio track to be disabled
This commit is contained in:
parent
707e332642
commit
db9a6d6877
1 changed files with 2 additions and 0 deletions
|
@ -227,6 +227,8 @@ class PlayerActivity : BasePlayerActivity() {
|
||||||
viewModel.player,
|
viewModel.player,
|
||||||
C.TRACK_TYPE_AUDIO,
|
C.TRACK_TYPE_AUDIO,
|
||||||
)
|
)
|
||||||
|
trackSelectionDialogBuilder.setShowDisableOption(true)
|
||||||
|
|
||||||
val trackSelectionDialog = trackSelectionDialogBuilder.build()
|
val trackSelectionDialog = trackSelectionDialogBuilder.build()
|
||||||
trackSelectionDialog.show()
|
trackSelectionDialog.show()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue