Commit 3aae0cbf by ibaker Committed by Ian Baker

Fix some comment references in StyledPlayer(Control)View

These comments inadvertantly refer to types and drawables associated
with Player(Control)View.

PiperOrigin-RevId: 416794967
parent f2d337c3
...@@ -241,17 +241,17 @@ import java.util.concurrent.CopyOnWriteArrayList; ...@@ -241,17 +241,17 @@ import java.util.concurrent.CopyOnWriteArrayList;
* <li>Type: {@link ImageView} * <li>Type: {@link ImageView}
* <li>Note: StyledPlayerControlView will programmatically set the drawable on the repeat * <li>Note: StyledPlayerControlView will programmatically set the drawable on the repeat
* toggle button according to the player's current repeat mode. The drawables used are * toggle button according to the player's current repeat mode. The drawables used are
* {@code exo_controls_repeat_off}, {@code exo_controls_repeat_one} and {@code * {@code exo_styled_controls_repeat_off}, {@code exo_styled_controls_repeat_one} and
* exo_controls_repeat_all}. See the section above for information on overriding these * {@code exo_styled_controls_repeat_all}. See the section above for information on
* drawables. * overriding these drawables.
* </ul> * </ul>
* <li><b>{@code exo_shuffle}</b> - The shuffle button. * <li><b>{@code exo_shuffle}</b> - The shuffle button.
* <ul> * <ul>
* <li>Type: {@link ImageView} * <li>Type: {@link ImageView}
* <li>Note: StyledPlayerControlView will programmatically set the drawable on the shuffle * <li>Note: StyledPlayerControlView will programmatically set the drawable on the shuffle
* button according to the player's current repeat mode. The drawables used are {@code * button according to the player's current repeat mode. The drawables used are {@code
* exo_controls_shuffle_off} and {@code exo_controls_shuffle_on}. See the section above * exo_styled_controls_shuffle_off} and {@code exo_styled_controls_shuffle_on}. See the
* for information on overriding these drawables. * section above for information on overriding these drawables.
* </ul> * </ul>
* <li><b>{@code exo_vr}</b> - The VR mode button. * <li><b>{@code exo_vr}</b> - The VR mode button.
* <ul> * <ul>
......
...@@ -498,7 +498,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider { ...@@ -498,7 +498,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
if (customController != null) { if (customController != null) {
this.controller = customController; this.controller = customController;
} else if (controllerPlaceholder != null) { } else if (controllerPlaceholder != null) {
// Propagate attrs as playbackAttrs so that PlayerControlView's custom attributes are // Propagate attrs as playbackAttrs so that StyledPlayerControlView's custom attributes are
// transferred, but standard attributes (e.g. background) are not. // transferred, but standard attributes (e.g. background) are not.
this.controller = new StyledPlayerControlView(context, null, 0, attrs); this.controller = new StyledPlayerControlView(context, null, 0, attrs);
controller.setId(R.id.exo_controller); controller.setId(R.id.exo_controller);
......
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