summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Yasin Kilicdere <tyk@google.com> 2022-10-31 16:52:11 +0000
committer Yasin Kilicdere <tyk@google.com> 2022-10-31 18:01:38 +0000
commit7fb0d1dcb013899a7a30799e2df6c6b6cebf317e (patch)
treef8473de59dad4ceaf75666781e265617b70fbe79 /libs/androidfw/AssetsProvider.cpp
parent2287fbb48f4dae6f2337bbbf2b40eccd016ba1cd (diff)
Make sure userSwitchComplete is dispatched after screen is unfrozen.
At the end of user switch flow, registered UserSwitchObservers are informed that user switch is complete. This should be after screen is unfrozen. But if there is no password on the target user, keyguard is dismissed just before unfreezing the screen and unfreezing is postponed in handler. This causes the order to be as follows: dismissKeyguard -> dispatchUserSwitchComplete -> unfreezeScreen This CL makes sure the order is as follows: dismissKeyguard -> unfreezeScreen -> dispatchUserSwitchComplete Bug: 256576977 Test: atest FrameworksServicesTests:UserControllerTest Change-Id: Iada3131b611526a8c7a372b4500bcbc17299dcbc
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions