Merge "Dark Theme "TURN ON UNTIL SUNRISE" is not retained after reboot"
This commit is contained in:
@@ -1803,8 +1803,11 @@ final class UiModeManagerService extends SystemService {
|
|||||||
mComputedNightMode = false;
|
mComputedNightMode = false;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (mNightMode != MODE_NIGHT_AUTO || (mTwilightManager != null
|
||||||
|
&& mTwilightManager.getLastTwilightState() != null)) {
|
||||||
resetNightModeOverrideLocked();
|
resetNightModeOverrideLocked();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private boolean resetNightModeOverrideLocked() {
|
private boolean resetNightModeOverrideLocked() {
|
||||||
if (mOverrideNightModeOff || mOverrideNightModeOn) {
|
if (mOverrideNightModeOff || mOverrideNightModeOn) {
|
||||||
|
|||||||
Reference in New Issue
Block a user