From e46caa284ab9a21a76e7636d661602134d880eb6 Mon Sep 17 00:00:00 2001 From: Steve Elliott Date: Wed, 15 Feb 2023 22:12:31 +0000 Subject: [PATCH] Ensure footer view colors are updated after inflation Fixes: 269218509 Test: manual 0: Have some notification present 1: Set theme to light mode 2: `adb shell am crash com.android.systemui` 3: Unlock device 4: expand the notification shade 5: Turn off the screen 6: Turn on the screen 7: *Without unlocking*, expand the notification shade Observe: icon is the correct color Change-Id: Ib1372afd22c323421f5f4b935bf549af95589aee --- .../android/systemui/statusbar/notification/row/FooterView.java | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/FooterView.java b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/FooterView.java index 21f4cb566e28f..49f17b664a201 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/FooterView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/FooterView.java @@ -88,6 +88,7 @@ public class FooterView extends StackScrollerDecorView { mSeenNotifsFooterTextView = findViewById(R.id.unlock_prompt_footer); updateResources(); updateText(); + updateColors(); } public void setFooterLabelTextAndIcon(@StringRes int text, @DrawableRes int icon) {