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

Commit 50dbea6a authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Merge "Fix light filter sometimes being slow when changing light conditions." into gingerbread

parents adf60695 16e14c03
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3392,7 +3392,7 @@ class PowerManagerService extends IPowerManager.Stub
            synchronized (mLocks) {
                // ignore light sensor while screen is turning off
                // or when flashlight would affect it
                if (isScreenTurningOffLocked() || mIgnoreLightSensor) {
                if (isScreenTurningOffLocked() || mIgnoreLightSensor || !mLightSensorEnabled) {
                    return;
                }