summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Jason Chang <jasonsfchang@google.com> 2023-05-23 02:10:31 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2023-05-23 02:10:31 +0000
commitb2776a8f43364ecd7e3d63286b4726062ebd841f (patch)
tree056165738bf23d346b17940299323292ed7b0ca8
parent08abe7a653759d89c6fc6febaf0de97c90dcaa78 (diff)
parent4c279958276fd1d9f06d435e4a32a073c30cbf10 (diff)
Merge "Fix the fingerprint UI color of the biometric prompt page is abnormal under the white theme" into udc-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt
index f04fdfff67f1..9807b9e6f1b3 100644
--- a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt
+++ b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt
@@ -122,7 +122,9 @@ open class AuthBiometricFingerprintIconController(
if (shouldAnimateIconViewForTransition(lastState, newState)) {
iconView.playAnimation()
}
- LottieColorUtils.applyDynamicColors(context, iconView)
+ if (isSideFps) {
+ LottieColorUtils.applyDynamicColors(context, iconView)
+ }
}
override fun updateIcon(@BiometricState lastState: Int, @BiometricState newState: Int) {