summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-10-09 17:38:26 -0700
committerDianne Hackborn <hackbod@google.com>2009-10-09 17:38:26 -0700
commitaa80b60b596e54dcfae55db73262440b0acba198 (patch)
treeff48d4aad7578af7357311e9b6e8c42a35a8b66c /opengl/java/android/opengl/Texture.java
parent8eb955b934c49ce814bce1a84bc995eef849051d (diff)
Fix issue #2179931: Power key to wake up frequently ignored when in dock app
The dock app is forcing the screen to a particular brightness level. This causes the window manager to often call into the power manager with the new brightness. This causes us to go in to updateLightsLocked() to figure out and apply the real brightness to use. When the screen is off the real brightness always remains 0, but even if it didn't change from the last one we would start an animation which would when done put the system to sleep and fight with the user trying to turn the device on. Now, if the new target brightness is the same as the last one, we leave the animation as-is -- either running or not as appropriate. Change-Id: I067d55ea2b39e294c5d5291587a4d8727c0b8083
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions