Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
a553e334
Commit
a553e334
authored
Sep 21, 2012
by
Sébastien Toque
Browse files
also keep the screen on for streams
parent
0059fd53
Changes
1
Hide whitespace changes
Inline
Side-by-side
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
View file @
a553e334
...
...
@@ -1176,9 +1176,9 @@ public class VideoPlayerActivity extends Activity {
dontParse
=
getIntent
().
getExtras
().
getBoolean
(
"dontParse"
);
}
mSurface
.
setKeepScreenOn
(
true
);
if
(
mLocation
!=
null
&&
mLocation
.
length
()
>
0
&&
!
dontParse
)
{
mLibVLC
.
readMedia
(
mLocation
,
false
);
mSurface
.
setKeepScreenOn
(
true
);
// restore last position
Media
media
=
DatabaseManager
.
getInstance
(
this
).
getMedia
(
this
,
mLocation
);
...
...
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