Commit 421dab43 by Oliver Woodman

Restore accidentally clobbered SimpleExoPlayerView change

parent d6d59ef0
...@@ -472,6 +472,16 @@ public final class SimpleExoPlayerView extends FrameLayout { ...@@ -472,6 +472,16 @@ public final class SimpleExoPlayerView extends FrameLayout {
return overlayFrameLayout; 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 @Override
public boolean onTouchEvent(MotionEvent ev) { public boolean onTouchEvent(MotionEvent ev) {
if (!useController || player == null || ev.getActionMasked() != MotionEvent.ACTION_DOWN) { if (!useController || player == null || ev.getActionMasked() != MotionEvent.ACTION_DOWN) {
......
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