summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2011-11-28 16:54:31 -0800
committerDianne Hackborn <hackbod@google.com>2011-11-28 16:57:37 -0800
commit81de8b99f599aaa163a7c9b2067e649e101f94b0 (patch)
treec0e823ef08168ec500d2fd40051c22fefac7fb50 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parente5715521232443f01f8c0c0633cac364c8136bde (diff)
Fix issue #5642121: Proximity sensor didn't turn the screen on in call
Turning animations back on exposed this. The problem is that when the screen brightness changes, it initiates a brightness animation. When we force the screen to black as we wait for it to be ready to display, it sees that an animation is running so stops it and thinks this means it should now turn the display off. To fix this, don't modify the screen brightness while we are waiting to show the screen. This is good anyway because the whole point is to avoid showing the screen until ready, and modifying the brightness at that point would turn it on prematurely. Change-Id: I84b296f8ca5705c2d237ea7741cdeb95c5521df9
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions