Commit 7960c46a authored by Geoffrey Métais's avatar Geoffrey Métais

Hide 'switch to audio' option from TV

parent 5db38ede
......@@ -465,7 +465,8 @@ public class AdvOptionsDialog extends DialogFragment implements View.OnClickList
mAdapter.addOption(new Option(ID_JUMP_TO, R.attr.ic_jumpto_normal_style));
if (mMode == MODE_VIDEO) {
mAdapter.addOption(new Option(ID_PLAY_AS_AUDIO, R.attr.ic_playasaudio_on));
if (!VLCApplication.showTvUi())
mAdapter.addOption(new Option(ID_PLAY_AS_AUDIO, R.attr.ic_playasaudio_on));
mAdapter.addOption(new Option(ID_SPU_DELAY, R.attr.ic_subtitledelay));
mAdapter.addOption(new Option(ID_AUDIO_DELAY, R.attr.ic_audiodelay));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment