Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5356c7dc authored by Jeff Brown's avatar Jeff Brown
Browse files

Disable electron beam on animation.

We want the screen to come back on as soon as possible.

Change-Id: Ifdaa2e88d19590c3da53be985dd886633e5cac59
parent 5338428d
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -75,8 +75,8 @@ final class DisplayPowerController {
    // If true, uses the electron beam on animation.
    // If true, uses the electron beam on animation.
    // We might want to turn this off if we cannot get a guarantee that the screen
    // 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
    // actually turns on and starts showing new content after the call to set the
    // screen state returns.
    // screen state returns.  Playing the animation can also be somewhat slow.
    private static final boolean USE_ELECTRON_BEAM_ON_ANIMATION = true;
    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_ON_ANIMATION_DURATION_MILLIS = 300;
    private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600;
    private static final int ELECTRON_BEAM_OFF_ANIMATION_DURATION_MILLIS = 600;