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

Commit 0ccec9db authored by kaiyiz's avatar kaiyiz Committed by Richard
Browse files

SystemUI: Fix time without 'AM' or 'PM' in 12hour format.

The initial value of AM/PM style is 'AM_PM_STYLE_GONE' which
means the time on statusbar will not show 'AM' or 'PM'.
Change the initial value of AM/PM style to 'AM_PM_STYLE_NORMAL'.

CRs-Fixed: 522239

Change-Id: Ia8ef13f3e4083becfbb869a52a281d58bd4c3782
parent 15d62b81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ public class Clock extends TextView implements DemoMode {
    private static final int AM_PM_STYLE_SMALL   = 1;
    private static final int AM_PM_STYLE_GONE    = 2;

    private static final int AM_PM_STYLE = AM_PM_STYLE_GONE;
    private static final int AM_PM_STYLE = AM_PM_STYLE_NORMAL;

    public Clock(Context context) {
        this(context, null);