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

Commit f31e6d70 authored by Jason Monk's avatar Jason Monk
Browse files

Make sure we don't accidentally allow the night mode tile

Bug: 28887927
Change-Id: I7cf9ae3f0c853d70172b2af3e75cd8d0106afde1
parent 6f1ed200
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() { }