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

Commit 28a5f8f4 authored by Konsta's avatar Konsta Committed by Gerrit Code Review
Browse files

SystemUI: fix hidden clock style after a reboot

Selecting hidden clock style and rebooting the device results
in both center and default clocks appearing when you'd expect
to see none.

mClockView is null after a reboot so visibility gets never set.
Set default visibility for clocks to gone.

Change-Id: I533af8c28042a5989e0025df133c9ccf1fa3e066
parent 10520e11
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -129,6 +129,7 @@
                android:singleLine="true"
                android:paddingStart="6dip"
                android:gravity="center_vertical|start"
                android:visibility="gone"
                />
        </LinearLayout>
    </LinearLayout>
@@ -141,6 +142,7 @@
        android:layout_gravity="center"
        android:gravity="center"
        android:singleLine="true"
        android:visibility="gone"
        />

    <LinearLayout android:id="@+id/ticker"
+2 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@
                android:singleLine="true"
                android:paddingStart="6dip"
                android:gravity="center_vertical|start"
                android:visibility="gone"
                />
        </LinearLayout>
    </LinearLayout>
@@ -139,6 +140,7 @@
        android:layout_gravity="center"
        android:gravity="center"
        android:singleLine="true"
        android:visibility="gone"
        />

    <LinearLayout android:id="@+id/ticker"