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

SystemUI: Initialize mClockVisibleByUser to android:visibility

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

Change-Id: I3ceea4400b3057e2b6b1f221f9074b1d451133ea
parent 40c1fa96
......@@ -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;
......
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