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

Commit 93497109 authored by kaiyiz's avatar kaiyiz Committed by Gerrit - the friendly Code Review server
Browse files

SystemUI: Status bar didn't display AM/PM after disable 24-hour format.

When disable "Use 24-hour format" in system setting, status bar did not
display AM/PM.

Change clock style to AM_PM_STYLE_NORMAL to be consistent with Settings.

Change-Id: Ic2439d463638d799bd0f56e9f8248caeb84c7dcb
CRs-Fixed: 783092
parent 012fbe9b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -71,7 +71,7 @@ public class Clock extends TextView implements DemoMode {
                R.styleable.Clock,
                0, 0);
        try {
            mAmPmStyle = a.getInt(R.styleable.Clock_amPmStyle, AM_PM_STYLE_GONE);
            mAmPmStyle = a.getInt(R.styleable.Clock_amPmStyle, AM_PM_STYLE_NORMAL);
        } finally {
            a.recycle();
        }