mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Revert removal of single track option in TrackSelectionView.
PiperOrigin-RevId: 233584155
This commit is contained in:
parent
1dd36ae391
commit
399a963e02
1 changed files with 0 additions and 6 deletions
|
|
@ -231,12 +231,6 @@ public class TrackSelectionView extends LinearLayout {
|
|||
trackGroups = mappedTrackInfo.getTrackGroups(rendererIndex);
|
||||
|
||||
// Add per-track views.
|
||||
if (trackGroups.length == 1 && trackGroups.get(0).length == 1) {
|
||||
// Don't add group selection if there is nothing to select from.
|
||||
trackViews = new CheckedTextView[0][0];
|
||||
updateViewStates();
|
||||
return;
|
||||
}
|
||||
trackViews = new CheckedTextView[trackGroups.length][];
|
||||
boolean enableMultipleChoiceForMultipleOverrides =
|
||||
allowMultipleOverrides && trackGroups.length > 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue