Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d84e541b authored by Matt Pietal's avatar Matt Pietal Committed by mse1969
Browse files

Validate user on biometric auth and keyguard done

On user switching, it is possible to start a chain of events
that validate the prior user before user switching is complete,
notably on biomtetric auth success and the tryKeyguarDone paths.
The latter is a runnable that can be scheduled after dismiss
animations run, but if the user was changed in the middle, it
is possible to dismiss the prior keyguard.

Revalidate the user at multiple points, and reset the keyguard
when the user id mismatch is detected.

Bug: 413380719
Test: atest KeyguardViewMediatorTest
Flag: EXEMPT bugfix
(cherry picked from commit 3395c83b)
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:5cb5f2cb9ec0518855a1feb918298027558b5c5c
Merged-In: I70efe8704931e096698d4a775ee487bb5241d7f1
Change-Id: I70efe8704931e096698d4a775ee487bb5241d7f1
parent f0e6efc8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment