Commit f35dbeb5 by olly Committed by Oliver Woodman

TrackSelectionView: Default to Auto when last check box deselected

PiperOrigin-RevId: 237052890
parent 97ea23fb
......@@ -350,9 +350,6 @@ public class TrackSelectionView extends LinearLayout {
if (overrideLength == 1) {
// The last track is being removed, so the override becomes empty.
overrides.remove(groupIndex);
if (overrides.size() == 0) {
isDisabled = true;
}
} else {
int[] tracks = getTracksRemoving(overrideTracks, trackIndex);
overrides.put(groupIndex, new SelectionOverride(groupIndex, tracks));
......
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 sign in to comment