diff options
author | Jeff Brown <jeffbrown@google.com> | 2012-08-20 20:17:36 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2012-08-20 20:19:16 -0700 |
commit | 5356c7dc72e80bbadd0ffbc69cfe3ea333280785 (patch) | |
tree | ec1c68ea4ebb1aa862768c6aeec2b23d926e1cd3 /services/java/com/android/server/power/DisplayPowerController.java | |
parent | 5338428ddbe662283bf88171c7ca361d51d78da8 (diff) |
Disable electron beam on animation.
We want the screen to come back on as soon as possible.
Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59
Diffstat (limited to 'services/java/com/android/server/power/DisplayPowerController.java')
-rw-r--r-- | services/java/com/android/server/power/DisplayPowerController.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/power/DisplayPowerController.java b/services/java/com/android/server/power/DisplayPowerController.java index 9d04a0cd111f..cf12b20d2a61 100644 --- a/services/java/com/android/server/power/DisplayPowerController.java +++ b/services/java/com/android/server/power/DisplayPowerController.java @@ -75,8 +75,8 @@ final class DisplayPowerController { // If true, uses the electron beam on animation. // We might want to turn this off if we cannot get a guarantee that the screen // actually turns on and starts showing new content after the call to set the - // screen state returns. - private static final boolean USE_ELECTRON_BEAM_ON_ANIMATION = true; + // screen state returns. Playing the animation can also be somewhat slow. + private static final boolean USE_ELECTRON_BEAM_ON_ANIMATION = false; private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 300; private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600; |