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: Ie31da52cb108c72568f7153cdf4358925befa29e
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:49:18 +00:00
committed by Automerger Merge Worker

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