commit | 32a329fe5692d191346f0eacc204837b0665faf7 | [log] [tgz] |
---|---|---|
author | Grace Cheng <graciecheng@google.com> | Thu Nov 17 18:56:09 2022 +0000 |
committer | Grace Cheng <graciecheng@google.com> | Thu Nov 17 21:49:26 2022 +0000 |
tree | 800354966641798d413b5d10260e856407b28242 | |
parent | c3de18645f7ec6081c903ef8533c17e6e20d6b94 [diff] |
Play animation upon opening BiometricPrompt Plays animation when opening BiometricPrompt on SFPS device Test: Open BiometricPrompt on SFPS device, observe animation is played Fixes: 259015973 Fixes: 258306241 Change-Id: Ie7af1f73388f879264ba09d76a396909112aa8bd
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt index b2a2a67..b962cc4 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt +++ b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt
@@ -107,6 +107,8 @@ if (shouldAnimateForTransition(lastState, newState)) { iconView.playAnimation() iconViewOverlay.playAnimation() + } else if (lastState == STATE_IDLE && newState == STATE_AUTHENTICATING_ANIMATING_IN) { + iconView.playAnimation() } LottieColorUtils.applyDynamicColors(context, iconView) LottieColorUtils.applyDynamicColors(context, iconViewOverlay)