Merge "Fix the fingerprint UI color of the biometric prompt page is abnormal under the white theme" into udc-dev am: b2776a8f43

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23297122

Change-Id: I8c8f10c2cbfe326a8aa51b207a8ae83ec8cd81c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jason Chang
2023-05-23 02:44:40 +00:00
committed by Automerger Merge Worker

View File

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