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

Commit 4114357b authored by Danny Baumann's avatar Danny Baumann Committed by Steve Kondik
Browse files

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

This reverts commit 45903344.

Change-Id: I449f580e46a27c97b0bc184599dccb74bb344f81
parent e690325a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -292,7 +292,6 @@ class AutomaticBrightnessController {
        if (enable) {
            if (!mLightSensorEnabled) {
                mLightSensorEnabled = true;
                mAmbientLuxValid = true;
                mLightSensorEnableTime = SystemClock.uptimeMillis();
                mSensorManager.registerListener(mLightSensorListener, mLightSensor,
                        mLightSensorRate * 1000, mHandler);