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

Commit 379859e9 authored by Luca Stefani's avatar Luca Stefani
Browse files

SystemUI: Fix default clock blacklist value

Change-Id: Ibdc4f6a707569ddb417854760cf579daca989ebb
parent 00167206
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ public class ClockController implements TunerService.Tunable {
        mActiveClock.setClockVisibleByUser(true);

        // Override any previous setting
        mActiveClock.setClockVisibleByUser(mBlackListed);
        mActiveClock.setClockVisibleByUser(!mBlackListed);
    }

    @Override
@@ -88,7 +88,7 @@ public class ClockController implements TunerService.Tunable {
        if (CLOCK_POSITION.equals(key)) {
            mClockPosition = newValue == null ? CLOCK_POSITION_RIGHT : Integer.valueOf(newValue);
        } else {
            mBlackListed = !StatusBarIconController.getIconBlacklist(newValue).contains("clock");
            mBlackListed = StatusBarIconController.getIconBlacklist(newValue).contains("clock");
        }
        updateActiveClock();
    }