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

Commit c6cbfea8 authored by zweif's avatar zweif
Browse files

Framework: fix disable screen-off animation

This line got lost in "Merge tag 'android-4.4.3_r1' into HEAD" and it's not possible to disable screen-off animation.

Change-Id: I050647afb30fae4547db561a2d3e212213e12873
parent 2849b3c4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -829,7 +829,8 @@ final class DisplayPowerController {
                            mElectronBeamFadesConfig() ?
                                    ElectronBeam.MODE_FADE :
                                            ElectronBeam.MODE_COOL_DOWN)
                            && mPowerState.isScreenOn()) {
                            && mPowerState.isScreenOn()
                            && useScreenOffAnimation()) {
                        mElectronBeamOffAnimator.start();
                    } else {
                        mElectronBeamOffAnimator.end();