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

SystemUI: Fix default clock blacklist value

Change-Id: Ibdc4f6a707569ddb417854760cf579daca989ebb
parent 00167206
......@@ -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();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment