View Issue Details

IDProjectCategoryView StatusLast Update
0012218MMAPlaybackpublic2015-02-03 13:58
Reporterpeke Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.7 
Target Version1.1.0Fixed in Version1.1.0 
Summary0012218: Video Playback on Moto G: Screen shuts down
DescriptionOn Motorola G KK 4.4.4 with installed and activated Go Locker MMW can't override screen lock.
TagsNo tags attached.
Fixed in build384

Relationships

parent of 0012550 feedbackmartin Playback: Keep Screen on if lyrics are shown in Player 
related to 0012549 resolvedmartin Keep Screen on while playing Option 
Not all the children of this issue are yet resolved or closed.

Activities

rusty

2014-10-05 01:18

administrator   ~0040708

Peke, this is working on all my devices as expected. Can you figure out what in your environment is causing the problem?

peke

2014-10-05 01:42

developer   ~0040709

Last edited: 2014-10-05 11:21

This looks like Moto G KK 4.4.4 specific can you please let me know how to better debug this?

I tried to disable go locker it is same it goes to sleep mode after set time.

marek

2015-01-03 19:18

developer   ~0041568

Please Martin, what we have used for not turning the screen off ?

 - Using power wake lock is deprecated.
 - Using FLAG_KEEP_SCREEN_ON is commented in our code

Do You please know whether there is some other way that we use ?
And do you know why is FLAG_KEEP_SCREEN_ON commented ?

Otherwise I will add it to VideoNowPlayingFragment.

martin

2015-01-08 10:38

developer   ~0041611

We use mPlayer.setScreenOnWhilePlaying(true) in our VideoAndroidPlayer

http://developer.android.com/reference/android/media/MediaPlayer.html#setScreenOnWhilePlaying(boolean)

I guess that commented FLAG_KEEP_SCREEN_ON is from long time ago when we kept screen on in Audio NowPlaying.

On other hand we can also use flag for Video NowPlaying.

martin

2015-01-27 04:55

developer   ~0041860

Screen should be on only when video is playing, so besides mPlayer.setScreenOnWhilePlaying(true) I have used
http://developer.android.com/reference/android/view/View.html#setKeepScreenOn(boolean)
I hope this will help.
Fixed in build 1.1.0.384.

peke

2015-02-03 13:58

developer   ~0041941

Verified 390