mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Restore accidentally clobbered SimpleExoPlayerView change
This commit is contained in:
parent
d6d59ef07e
commit
421dab433a
1 changed files with 10 additions and 0 deletions
|
|
@ -472,6 +472,16 @@ public final class SimpleExoPlayerView extends FrameLayout {
|
|||
return overlayFrameLayout;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the {@link SubtitleView}.
|
||||
*
|
||||
* @return The {@link SubtitleView}, or {@code null} if the layout has been customized and the
|
||||
* subtitle view is not present.
|
||||
*/
|
||||
public SubtitleView getSubtitleView() {
|
||||
return subtitleView;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onTouchEvent(MotionEvent ev) {
|
||||
if (!useController || player == null || ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue