summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2022-03-09 19:19:53 +0000
committer Aaron Liu <aaronjli@google.com> 2022-03-09 19:19:53 +0000
commit6ddb22023ada261a43611be4b2bc7387e29d962d (patch)
tree7308a69c0fec3263283476f64a278aff146860ad
parent75af9013a9805b2cc51cff657765cf970a1cc135 (diff)
Home Controls: Update colors after setting icon
We want to update the colors here whenever the theme changed. Fixes: 223638474 Test: Manual Change-Id: I708287dd11f33c4c30b52aa46e17feb634ac0702
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
index 541aeab22a80..e7ef3c25f869 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java
@@ -556,6 +556,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL
mControlsButton.setImageResource(mControlsComponent.getTileImageId());
mControlsButton.setContentDescription(getContext()
.getString(mControlsComponent.getTileTitleId()));
+ updateAffordanceColors();
boolean hasFavorites = mControlsComponent.getControlsController()
.map(c -> c.getFavorites().size() > 0)