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

This commit is contained in:
Jason Chang
2023-05-23 02:10:31 +00:00
committed by Android (Google) Code Review

View File

@@ -122,8 +122,10 @@ open class AuthBiometricFingerprintIconController(
if (shouldAnimateIconViewForTransition(lastState, newState)) { if (shouldAnimateIconViewForTransition(lastState, newState)) {
iconView.playAnimation() iconView.playAnimation()
} }
if (isSideFps) {
LottieColorUtils.applyDynamicColors(context, iconView) LottieColorUtils.applyDynamicColors(context, iconView)
} }
}
override fun updateIcon(@BiometricState lastState: Int, @BiometricState newState: Int) { override fun updateIcon(@BiometricState lastState: Int, @BiometricState newState: Int) {
if (isSideFps) { if (isSideFps) {