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
This commit is contained in:
Aaron Liu
2022-03-09 19:19:53 +00:00
parent 75af9013a9
commit 6ddb22023a

View File

@@ -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)