Skip to content

Commit 5356c7d

Browse files
author
Jeff Brown
committed
Disable electron beam on animation.
We want the screen to come back on as soon as possible. Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59
1 parent 5338428 commit 5356c7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/java/com/android/server/power/DisplayPowerController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ final class DisplayPowerController {
7575
// If true, uses the electron beam on animation.
7676
// We might want to turn this off if we cannot get a guarantee that the screen
7777
// actually turns on and starts showing new content after the call to set the
78-
// screen state returns.
79-
private static final boolean USE_ELECTRON_BEAM_ON_ANIMATION = true;
78+
// screen state returns. Playing the animation can also be somewhat slow.
79+
private static final boolean USE_ELECTRON_BEAM_ON_ANIMATION = false;
8080

8181
private static final int ELECTRON_BEAM_ON_ANIMATION_DURATION_MILLIS = 300;
8282
private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600;

0 commit comments

Comments
 (0)