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

Commit e90131e2 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Update big clock when theme (overlay) changes.

Bug: 123069859
Test: Enabled overlays, such as com.android.theme.font.rubikrubik
Change-Id: I5a9d4eed632d9ddd2bb79e20bad97b860088e853
parent 070aba8e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -447,6 +447,11 @@ public class NotificationPanelView extends PanelView implements
                false);
        addView(mKeyguardStatusView, index);

        // Re-associate the clock container with the keyguard clock switch.
        mBigClockContainer.removeAllViews();
        KeyguardClockSwitch keyguardClockSwitch = findViewById(R.id.keyguard_clock_container);
        keyguardClockSwitch.setBigClockContainer(mBigClockContainer);

        // Update keyguard bottom area
        index = indexOfChild(mKeyguardBottomArea);
        removeView(mKeyguardBottomArea);