commit | 84e3c5132350e09aa3cc37828d9c172f09df1a70 | [log] [tgz] |
---|---|---|
author | Dandan Sun <dandan.sun@nxp.com> | Thu May 30 13:37:23 2019 +0800 |
committer | LuK1337 <priv.luk@gmail.com> | Thu Nov 26 11:21:26 2020 +0100 |
tree | 75991951e67046e51db00db75d46ec16ceb2c4d7 | |
parent | 1d80cb880165f51020c15ad43ee076dc731c043b [diff] |
Fix Gallery2's bug: When using Gallery2 player, Device sometimes enters in deep sleep by itself during video playback. Add SCREEN_BRIGHT_WAKE_LOCK in onStart() method of MovieAcitvity,release the lock in onStop() method.which can ensure the brightness of screen during playing the video. Signed-off-by: Dandan Sun <dandan.sun@nxp.com> Change-Id: Id1694510cd8c324838696c35ac721ab7ea3ed28b