Commit e376122
AuthRippleController: Always finish the LightRevealScrim
The unlock ripple animation triggers a CircleReveal effect of
the LightRevealScrim. The CircleReveal uses a ValueAnimator that
gives in when something else takes over the reveal. If the taking
over happens till the end of the animator, the revealAmount of the
CircleReveal will not be updated, thus leaving a black-white
radial gradient patten in the notification panel background.
Make sure to always finish the reveal in such case, by setting
the revealAmount when the animator is approaching the end.
Test: put an app in landscape, lock the screen, unlock with a
physical fingerprint sensor, and check the notification panel
Change-Id: Id96404de524b32146bb776210b006b75fd035017
Signed-off-by: Chenyang Zhong <[email protected]>
Signed-off-by: minaripenguin37 <[email protected]>
Signed-off-by: minaripenguin <[email protected]>1 parent 64e4d64 commit e376122
1 file changed
Lines changed: 4 additions & 0 deletions
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
205 | 209 | | |
206 | 210 | | |
207 | 211 | | |
| |||
0 commit comments