View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012218 | MMA | Playback | public | 2014-10-05 01:04 | 2015-02-03 13:58 |
Reporter | peke | Assigned To | |||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.7 | ||||
Target Version | 1.1.0 | Fixed in Version | 1.1.0 | ||
Summary | 0012218: Video Playback on Moto G: Screen shuts down | ||||
Description | On Motorola G KK 4.4.4 with installed and activated Go Locker MMW can't override screen lock. | ||||
Tags | No tags attached. | ||||
Fixed in build | 384 | ||||
|
Peke, this is working on all my devices as expected. Can you figure out what in your environment is causing the problem? |
|
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. |
|
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. |
|
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. |
|
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. |
|
Verified 390 |