Fix the fingerprint UI color of the biometric prompt page is
abnormal under the white theme The default animaiton lottie is for light theme in udfps, so add if-condition when calling applyDynamicColors() method. Bug: 269560110 Test: manually test with reproduciable steps: Pre-Condition: Enroll at least one finger. DUT white theme. STEPS TO REPRODUCE: Settings -> Network & internet -> Hotspot & tethering -> Wi-Fi hotspot -> Turn on Use Wi-Fi hotspot Press the QR-code icon. Change-Id: Ic71a0eac7bc5dd44722f19e6c7e24b6a8b8684d2
This commit is contained in:
@@ -122,7 +122,9 @@ open class AuthBiometricFingerprintIconController(
|
||||
if (shouldAnimateIconViewForTransition(lastState, newState)) {
|
||||
iconView.playAnimation()
|
||||
}
|
||||
LottieColorUtils.applyDynamicColors(context, iconView)
|
||||
if (isSideFps) {
|
||||
LottieColorUtils.applyDynamicColors(context, iconView)
|
||||
}
|
||||
}
|
||||
|
||||
override fun updateIcon(@BiometricState lastState: Int, @BiometricState newState: Int) {
|
||||
|
||||
Reference in New Issue
Block a user