diff options
author | Dandan Sun <dandan.sun@nxp.com> | 2019-05-30 13:37:23 +0800 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2020-05-26 23:44:02 +0300 |
commit | 72e7ad5eae7323b001f8df52d782ef731bbccb95 (patch) | |
tree | 2aaa024899cd71b2bcd690127d92ac5cdc8539af /jni_jpegstream/src/jpeg_hook.cpp | |
parent | 495183295287e50e77b0f75656626b35f237c0d8 (diff) | |
download | android_packages_apps_Gallery2-72e7ad5eae7323b001f8df52d782ef731bbccb95.tar.gz android_packages_apps_Gallery2-72e7ad5eae7323b001f8df52d782ef731bbccb95.tar.bz2 android_packages_apps_Gallery2-72e7ad5eae7323b001f8df52d782ef731bbccb95.zip |
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
Diffstat (limited to 'jni_jpegstream/src/jpeg_hook.cpp')
0 files changed, 0 insertions, 0 deletions