commit | e90131e274d2babdb4ab52b9db93a496a775d37e | [log] [tgz] |
---|---|---|
author | Robert Snoeberger <snoeberger@google.com> | Thu Jan 24 14:07:30 2019 -0500 |
committer | Robert Snoeberger <snoeberger@google.com> | Thu Jan 24 14:07:30 2019 -0500 |
tree | 6cd8db1355413a10e158163d5e42ac16e6aa34ee | |
parent | 070aba8e540928338a893755158a239b8e146bae [diff] [blame] |
Update big clock when theme (overlay) changes. Bug: 123069859 Test: Enabled overlays, such as com.android.theme.font.rubikrubik Change-Id: I5a9d4eed632d9ddd2bb79e20bad97b860088e853
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 0d5ebb9..9425262 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java
@@ -447,6 +447,11 @@ 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);