From 5356c7dc72e80bbadd0ffbc69cfe3ea333280785 Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Mon, 20 Aug 2012 20:17:36 -0700 Subject: [PATCH] Disable electron beam on animation. We want the screen to come back on as soon as possible. Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59 --- .../java/com/android/server/power/DisplayPowerController.java | 4 ++-- 1 file 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 9d04a0cd111f9..cf12b20d2a617 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;