summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-03-07 15:03:38 -0800
committerchaviw <chaviw@google.com>2018-03-08 07:34:16 -0800
commit474093d69981e8d71e293cf0d64ce0709b84e3d6 (patch)
treea8d5b470e8eea5b4fdc20cc10c30d3d2bd0aaefb /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentf9500e9c01f6e515e78952beecb827ff80e900a6 (diff)
Set canTurnScreenOn to false for any window with flag.
There are cases where the window has the flag TURN_SCREEN_ON but the other checks aren't satisfied. In those cases, canTurnScreenOn will still be true allowing another relayout to turn the screen on. Instead, set canTurnScreenOn flag to false if any window has the flag TURN_SCREEN_ON, regardless if the other conditions are met. The previous fix If8ff9ba1afb1f7f9632e8c911ed475aed531b880 broke the testTurnScreenOnActivity_withRelayout test so this is a more correct solution. Change-Id: I3fa6285cd5f246e96f9034a7af76b8828e16c15d Fixes: 74086704 Test: testTurnScreenOnActivity_withRelayout
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions