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

Commit 10a40319 authored by Abhishek Gadewar's avatar Abhishek Gadewar
Browse files

Fix the wrong light doze state check



Summary: There is a typo when checking the light doze state.

Test: Build and load the OS. The change is pretty safe since the new value is the same as the old one.

Change-Id: Ib999400cbe4c35fc02e39fa1775b1477ff30d957
Signed-off-by: default avatarAbhishek Gadewar <abhishekgadewar@meta.com>
parent eff5e7d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3568,7 +3568,7 @@ public class DeviceIdleController extends SystemService
            Slog.i(TAG, "becomeActiveLocked, reason=" + activeReason
                    + ", changeLightIdle=" + changeLightIdle);
        }
        if (mState != STATE_ACTIVE || mLightState != STATE_ACTIVE) {
        if (mState != STATE_ACTIVE || mLightState != LIGHT_STATE_ACTIVE) {
            moveToStateLocked(STATE_ACTIVE, activeReason);
            mInactiveTimeout = newInactiveTimeout;
            resetIdleManagementLocked();