commit | 2ffb6c0784303773f940a8af698019e641565ed6 | [log] [tgz] |
---|---|---|
author | Grace Cheng <graciecheng@google.com> | Tue Nov 29 00:41:33 2022 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 29 00:41:33 2022 +0000 |
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>
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)