summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Matt Pietal <mpietal@google.com> 2025-02-11 04:36:26 -0800
committer Matt Pietal <mpietal@google.com> 2025-02-12 04:23:47 -0800
commitd8c3d450f77f77232a89ac37c9b9b266e28c0202 (patch)
treea81fc624a272f5816914b47394e62fb756c40eec /libs/androidfw/misc.cpp
parentca75ea9839f09034e2a44624a7eb7c0669ee6b75 (diff)
Update user switching processes
Add a new callback for UserController. If the user is secure, initiate a call to SystemUI to lockNow(), and wait for the callback. If the callback does not arrive, crash the system after some time. In SystemUI, add support for onBeforeUserSwitching. When this request comes in, prepare the keyguard and show it before calling back to notify UserController that it is ready to proceed. Also, ensure that any switch is user that occurs after WM has been notified that SystemUI is going away is stopped. Bug: 322157041 Test: atest KeyguardViewMediatorTest Flag: EXEMPT bugfix Change-Id: I32699e32fe1dbe94af2abe7e7ade5363a2b6cb55
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions