Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Casanowow Life for love
VLC-Android
Commits
1f518958
Commit
1f518958
authored
Mar 22, 2018
by
Geoffrey Métais
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VideoPlayerActivity: Prevent ClassCastException
On Android 4.0.x (cherry picked from commit
e943418c
)
parent
a20eb7a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
...d/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+4
-2
No files found.
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
1f518958
...
...
@@ -385,8 +385,10 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
mTitle
=
mActionBarView
.
findViewById
(
R
.
id
.
player_overlay_title
);
if
(!
AndroidUtil
.
isJellyBeanOrLater
)
{
mSysTime
=
(
TextView
)
findViewById
(
R
.
id
.
player_overlay_systime
);
mBattery
=
(
TextView
)
findViewById
(
R
.
id
.
player_overlay_battery
);
View
v
=
findViewById
(
R
.
id
.
player_overlay_systime
);
if
(
v
instanceof
TextView
)
mSysTime
=
(
TextView
)
v
;
v
=
findViewById
(
R
.
id
.
player_overlay_battery
);
if
(
v
instanceof
TextView
)
mBattery
=
(
TextView
)
v
;
}
mPlaylistToggle
=
(
ImageView
)
findViewById
(
R
.
id
.
playlist_toggle
);
...
...
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