Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8fcc8c63
authored
Dec 01, 2016
by
Drew Hill
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
change to getview call instead of set property
parent
214c55b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
library/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java
library/src/main/java/com/google/android/exoplayer2/ui/SimpleExoPlayerView.java
View file @
8fcc8c63
...
...
@@ -39,7 +39,6 @@ import com.google.android.exoplayer2.Timeline;
import
com.google.android.exoplayer2.metadata.Metadata
;
import
com.google.android.exoplayer2.metadata.id3.ApicFrame
;
import
com.google.android.exoplayer2.source.TrackGroupArray
;
import
com.google.android.exoplayer2.text.CaptionStyleCompat
;
import
com.google.android.exoplayer2.text.Cue
;
import
com.google.android.exoplayer2.text.TextRenderer
;
import
com.google.android.exoplayer2.trackselection.TrackSelection
;
...
...
@@ -479,10 +478,8 @@ public final class SimpleExoPlayerView extends FrameLayout {
return
useController
?
controller
.
dispatchKeyEvent
(
event
)
:
super
.
dispatchKeyEvent
(
event
);
}
public
void
setSubtitleStyle
(
CaptionStyleCompat
style
)
{
if
(
subtitleView
!=
null
)
subtitleView
.
setStyle
(
style
);
public
SubtitleView
getSubtitleView
()
{
return
subtitleView
;
}
private
void
maybeShowController
(
boolean
isForced
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment