diff options
| author | 2022-11-29 00:41:33 +0000 | |
|---|---|---|
| committer | 2022-11-29 00:41:33 +0000 | |
| commit | 2ffb6c0784303773f940a8af698019e641565ed6 (patch) | |
| tree | f1a17ad899d687f5ddc4d57a41d327d501622132 | |
| parent | 48ed6ba54ea0133624d26a34632ab1f0804cb3d7 (diff) | |
| parent | 15d780b7fea8308230bb931176d8b1e8e6b0082d (diff) | |
Merge "Play animation upon opening BiometricPrompt" into tm-qpr-dev am: 15d780b7fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20513666
Change-Id: I9eb155907fc5c7baaf51cdf9201e24c4e8ed9048
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt b/packages/SystemUI/src/com/android/systemui/biometrics/AuthBiometricFingerprintIconController.kt index b2a2a679b383..b962cc43eddf 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 @@ open class AuthBiometricFingerprintIconController( 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) |