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

Commit 63577b54 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

Merge \"Merge \\\"Make sure we don\\\'t accidentally allow the night mode...

Merge \"Merge \\\"Make sure we don\\\'t accidentally allow the night mode tile\\\" into nyc-dev am: 126366dd am: fac0a50c\" into nyc-mr1-dev-plus-aosp
am: 03ca53c1

Change-Id: If41932f8ff4e9e9019d8f81ce7e9a98743e4df24
parents dd0d273b 03ca53c1
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@ public class AutoTileManager {
            new NightModeController.Listener() {
        @Override
        public void onNightModeChanged() {
            if (mHost.getNightModeController().isEnabled()) {
                mHost.addTile("night");
                Prefs.putBoolean(mContext, Key.QS_NIGHT_ADDED, true);
                mHandler.post(new Runnable() {
@@ -89,6 +90,7 @@ public class AutoTileManager {
                    }
                });
            }
        }

        @Override
        public void onTwilightAutoChanged() { }