summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2014-03-11 23:02:35 -0700
committerJeff Brown <jeffbrown@google.com>2014-03-11 23:23:58 -0700
commit2d8a3908d2b0a74ccdecd97e86e7bfda1caa218e (patch)
tree9139da1324279fd463a1d7f27593ff2886297790 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentcc9894c82559d63b1ae89635b0ae9965e03d598e (diff)
Fix power manager display wake lock bugs.
Under certain circumstances, the power manager might continue to hold the display wakelock long after the display had been turned off due to the mDisplayReady flag having an incorrect value. 1. An inverted conditional caused DisplayPowerState to incorrectly signal the screen on ready state. 2. The DisplayPowerController failed to clear the block screen on flag in the case where the screen was turned off before it became unblocked from turning on. This could happen when the display was rapidly turned on-off-on-off. Bug: 13248135 Change-Id: I8faa3034695c83c8cd35613d81acccf40d22128d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions