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

Commit c5f4d1e2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix the wrong light doze state check" into main

parents e4942e47 10a40319
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();