summaryrefslogtreecommitdiff
path: root/opengl/java/android/opengl/Texture.java
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2011-11-23 09:03:51 -0500
committerDaniel Sandler <dsandler@android.com>2011-11-23 09:03:51 -0500
commit7d46c613f6bfeb6638c6aafb52eab417ad8eef52 (patch)
treefca7ea6b63202b4c9b6f5f685b6ce77736648683 /opengl/java/android/opengl/Texture.java
parent26dd54f87c1daaa369576d9abea823c8105bd702 (diff)
Quick fix for bug 5646217 blocking automation tests
The screen saver knows to avoid running when applications are holding wake locks via window flags, but other wake locks are invisible to the window manager and therefore to the screen saver activation code. The correct thing to do is move the screen saver to the power manager to give it access to all wakelock information. In the meantime, this fix checks for the user's STAY_ON_WHILE_PLUGGED_IN setting and disables the screen saver in this case. Bug: 5646217 Change-Id: Ia2286a8c3745267871901f7a0b7df94ec344a456
Diffstat (limited to 'opengl/java/android/opengl/Texture.java')
0 files changed, 0 insertions, 0 deletions