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

Commit 14dc2835 authored by LuK1337's avatar LuK1337 Committed by Rashed Abdel-Tawab
Browse files

SystemUI: Initialize mClockVisibleByUser to android:visibility

* Fixes ~ triple clock ~ after leaving from Google SUW.

Change-Id: I3ceea4400b3057e2b6b1f221f9074b1d451133ea
parent 40c1fa96
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ public class Clock extends TextView implements DemoMode, Tunable, CommandQueue.C
    public static final String CLOCK_STYLE = "lineagesystem:status_bar_am_pm";

    private boolean mClockVisibleByPolicy = true;
    private boolean mClockVisibleByUser = true;
    private boolean mClockVisibleByUser = getVisibility() == View.VISIBLE;

    private boolean mAttached;
    private Calendar mCalendar;