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

Commit fddb769a authored by Hendrik Hagendorn's avatar Hendrik Hagendorn Committed by Zhao Wei Liew
Browse files

SystemUI: Fix clock seconds option

Change-Id: I4869c1b2f77f7fdaa236593e9ab9ba5fce053784
parent 3438f5f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -94,8 +94,8 @@ public class ClockController implements TunerService.Tunable {
            mClockPosition = newValue == null ? STYLE_CLOCK_RIGHT : Integer.valueOf(newValue);
        } else if (CLOCK_STYLE.equals(key)) {
            mAmPmStyle = newValue == null ? AM_PM_STYLE_GONE : Integer.valueOf(newValue);
        } else if (CLOCK_SECONDS.equals(mShowSeconds)) {
            mShowSeconds = newValue == null ? false : Boolean.valueOf(newValue);
        } else if (CLOCK_SECONDS.equals(key)) {
            mShowSeconds = newValue != null && Integer.parseInt(newValue) != 0;
        }
        updateActiveClock();
    }