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

Commit e60cc7da authored by Bruno Martins's avatar Bruno Martins Committed by android-build-merger
Browse files

Merge "DndTile: Avoid yet another NPE during boot up phase" am: 2446a107

am: 1fa90bc5

Change-Id: Ib78e3254cd1245c95edeff8a91d5e8bac9e75cf6
parents 663afacd 1fa90bc5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -199,6 +199,7 @@ public class DndTile extends QSTileImpl<BooleanState> {

    @Override
    protected void handleUpdateState(BooleanState state, Object arg) {
        if (mController == null) return;
        final int zen = arg instanceof Integer ? (Integer) arg : mController.getZen();
        final boolean newValue = zen != ZEN_MODE_OFF;
        final boolean valueChanged = state.value != newValue;