summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author João Victor Mendes Freire <jvfreire@google.com> 2022-10-28 12:47:53 +0000
committer João Victor Mendes Freire <jvfreire@google.com> 2022-10-28 17:29:35 +0000
commit1cc5912bd2419d09a812bed6e800a34c6b6bbe16 (patch)
tree5b217f7e8cd425cc026793e0a293ecffea10b30e /libs/androidfw/StringPool.cpp
parent19ba99d34b7c45ee271d9e88dea2347f24b26f4e (diff)
Fix guest user not being removed until boot
Updated the GuestUserInteractor on user switcher to use removeUserWhenPossible() instead of removeUser(), similar to what happens on UserSettings. This avoids the case where the guest user markes itself to be deleted, but cannot be removed by the UserManager because it is the current user, so it will be purged only when the device reboots. With removeUserWhenPossible(), the guest will be remove uppon reboot or user switch. Bug: 250544682 Test: atest GuestUserInteractorTest && manually tested Change-Id: I3b185842348e452b18da4cd346062656a1043114
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions