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:28:22 -0700
commit15258ac86bb397206ac44c073baf184ffa0e62f2 (patch)
treef18d18bd7fc1d56e23ee214a59839eae5344abe0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7f2c9e9420252a493b7399639f794c8a963444e5 (diff)
Fix power manager display wake lock bugs. (DO NOT MERGE)
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