Fix some comment references in StyledPlayer(Control)View

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

PiperOrigin-RevId: 416794967
This commit is contained in:
ibaker 2021-12-16 14:20:14 +00:00 committed by tonihei
parent 991a22ec75
commit de0f129f21
2 changed files with 6 additions and 6 deletions

View file

@ -242,17 +242,17 @@ import java.util.concurrent.CopyOnWriteArrayList;
* <li>Type: {@link ImageView}
* <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
* {@code exo_controls_repeat_off}, {@code exo_controls_repeat_one} and {@code
* exo_controls_repeat_all}. See the section above for information on overriding these
* drawables.
* {@code exo_styled_controls_repeat_off}, {@code exo_styled_controls_repeat_one} and
* {@code exo_styled_controls_repeat_all}. See the section above for information on
* overriding these drawables.
* </ul>
* <li><b>{@code exo_shuffle}</b> - The shuffle button.
* <ul>
* <li>Type: {@link ImageView}
* <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
* exo_controls_shuffle_off} and {@code exo_controls_shuffle_on}. See the section above
* for information on overriding these drawables.
* exo_styled_controls_shuffle_off} and {@code exo_styled_controls_shuffle_on}. See the
* section above for information on overriding these drawables.
* </ul>
* <li><b>{@code exo_vr}</b> - The VR mode button.
* <ul>

View file

@ -501,7 +501,7 @@ public class StyledPlayerView extends FrameLayout implements AdViewProvider {
if (customController != null) {
this.controller = customController;
} 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.
this.controller = new StyledPlayerControlView(context, null, 0, attrs);
controller.setId(R.id.exo_controller);