summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Beverly <beverlyt@google.com> 2022-04-06 14:28:47 +0000
committer Beverly Tai <beverlyt@google.com> 2022-04-06 15:46:51 +0000
commitd0fe039ac2d7e36d7ee83ceaf3b1f7784cd51659 (patch)
treeeec50718137ecb387ae23bf6e8ac5a5f4b0372e4 /libs/androidfw/StringPool.cpp
parentdd0a8fb689dfd67f2277e8e575be680e662b6b00 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions