summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2012-10-04 17:59:58 -0700
committerJeff Brown <jeffbrown@google.com>2012-10-04 18:03:11 -0700
commit543083593430208af87e51b94cdbbb51cbe2d7b5 (patch)
tree0c347beb69ac1d6b4886dbe95eab56c6438c56e2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent93cbbb25a56356cd36523809783a277fe92e312e (diff)
Ensure we send at least one wakeup/gotosleep transition.
This fixes an issue where the device would not lock immediately when the user quickly pressed power off / power on even if configured to do so. We were suppressing the screen off and wake up broadcast in this case. Now we make sure to always send at least one broadcast to indicate the transition. We still collapse back-to-back full cycle transitions though so as not to end up enqueuing useless broadcasts. Bug: 7061116 Change-Id: I7211c5fd963c271c2b0aceb4d2f746063c629079
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions