mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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:
parent
f2d337c33d
commit
3aae0cbff3
2 changed files with 6 additions and 6 deletions
|
|
@ -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 {
|
||||||
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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue