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

Commit 3cf6b3c1 authored by Danny Baumann's avatar Danny Baumann Committed by Gerrit Code Review
Browse files

Revert "autobrightness: Fix the brightness dialog is not work when first enable auto-backlight"

This reverts commit 45903344.

Change-Id: I449f580e46a27c97b0bc184599dccb74bb344f81
parent 11d47e4f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -283,7 +283,6 @@ class AutomaticBrightnessController {
        if (enable) {
            if (!mLightSensorEnabled) {
                mLightSensorEnabled = true;
                mAmbientLuxValid = true;
                mLightSensorEnableTime = SystemClock.uptimeMillis();

                mSensorManager.registerListener(mLightSensorListener, mLightSensor,