AuthRipple should always animate lightReveal on auth
- AuthRipple animates light reveal even when the device is going to sleep. - If another light reveal effect has taken over, then the auth ripple should immediately cancel its animation so that subsequent authentications within that time aren't taken over by a stale animator (and so the stale animator isn't needlessly animating) - Before setting the reveal effect to the circle effect, immediately reset the revealAmount to 0 so we start with a clean black screen rather than flashing before resetting. - Add reveal amount to the trace (which will be an int value between 0 and 100, where 0 represents revealAmount=0 and 100 is revealAmount=1f) Test: manually authenticate with rear FP when device is going to sleep + repeat Fixes: 228092241 Change-Id: Iaea613fd542404077dc77bad91e4717188015cb6
Loading
Please register or sign in to comment