Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
399a963e
authored
Feb 12, 2019
by
tonihei
Committed by
Andrew Lewis
Feb 18, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Revert removal of single track option in TrackSelectionView.
PiperOrigin-RevId: 233584155
parent
1dd36ae3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
library/ui/src/main/java/com/google/android/exoplayer2/ui/TrackSelectionView.java
View file @
399a963e
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment