Fix not to show repeat button when its mode is NONE.
PiperOrigin-RevId: 330627047
This commit is contained in:
parent
b2b08ade99
commit
222ba22b10
@ -716,6 +716,8 @@ public class StyledPlayerControlView extends FrameLayout {
|
|||||||
controlViewLayoutManager.setShowButton(shuffleButton, showShuffleButton);
|
controlViewLayoutManager.setShowButton(shuffleButton, showShuffleButton);
|
||||||
controlViewLayoutManager.setShowButton(subtitleButton, showSubtitleButton);
|
controlViewLayoutManager.setShowButton(subtitleButton, showSubtitleButton);
|
||||||
controlViewLayoutManager.setShowButton(vrButton, showVrButton);
|
controlViewLayoutManager.setShowButton(vrButton, showVrButton);
|
||||||
|
controlViewLayoutManager.setShowButton(
|
||||||
|
repeatToggleButton, repeatToggleModes != RepeatModeUtil.REPEAT_TOGGLE_MODE_NONE);
|
||||||
addOnLayoutChangeListener(this::onLayoutChange);
|
addOnLayoutChangeListener(this::onLayoutChange);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user