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

Commit 5b1ff789 authored by Jay Aliomer's avatar Jay Aliomer Committed by Gerrit Code Review
Browse files

Merge "Dark Theme "TURN ON UNTIL SUNRISE" is not retained after reboot"

parents e441813c 3847d7ed
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1803,8 +1803,11 @@ final class UiModeManagerService extends SystemService {
            mComputedNightMode = false;
            return;
        }
        if (mNightMode != MODE_NIGHT_AUTO || (mTwilightManager != null
                && mTwilightManager.getLastTwilightState() != null)) {
            resetNightModeOverrideLocked();
        }
    }

    private boolean resetNightModeOverrideLocked() {
        if (mOverrideNightModeOff || mOverrideNightModeOn) {