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

Commit 05157de8 authored by Jason Monk's avatar Jason Monk Committed by android-build-merger
Browse files

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

am: 126366dd

Change-Id: I0f256958b8596ab07e27c6c026dc7e37d5a4028f
parents 7374971c 126366dd
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() { }