From 1c3a6056f176a29904cac6a9fbca1595b443e6f6 Mon Sep 17 00:00:00 2001 From: Peter Kalauskas Date: Fri, 23 Apr 2021 16:15:03 -0700 Subject: [PATCH] Update user icon when dark theme toggled Previously, after toggling dark theme on/off, the keyguard user icon would not update until it was clicked. Also, remove unused private field mDarkAmount Bug: 184204785 Test: With config_keyguard_user_switch_opens_qs_details=true, toggle dark theme on/off and observe keyguard user icon Change-Id: Ic47ed44c0c970d050178ce2c26aaccb661286ece --- .../policy/KeyguardQsUserSwitchController.java | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardQsUserSwitchController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardQsUserSwitchController.java index d52ea890af7ee..cda453ad25216 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardQsUserSwitchController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/KeyguardQsUserSwitchController.java @@ -68,6 +68,7 @@ public class KeyguardQsUserSwitchController extends ViewController