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

Commit 126366dd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Make sure we don't accidentally allow the night mode tile" into nyc-dev

parents c169a9d8 f31e6d70
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() { }