summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Aaron Liu <aaronjli@google.com> 2023-10-02 10:50:08 -0700
committer Aaron Liu <aaronjli@google.com> 2023-10-05 09:12:45 -0700
commit0973118d2eebbdd4b73cf20026a78efc04ff7bbe (patch)
treea94e93fbd7158b7c39e9593c21c0a152b643c883 /libs/androidfw/StringPool.cpp
parent4129e1870e7e9336a3a71251412d4e3364fac7cc (diff)
Prevent Sysui crash when user is deleted.
When User is deleted, we need to make sure that we don't call context#startServiceAsUser. We can do this by ensuring that the user is in the list of alive users in Usermanager. I also added a test. Fixes: 296305878 Test: Do repro steps described in bug. Make user and skip set up wizard and remove user. Observe no crash. Change-Id: I5b346f0ecc95b45b73b9cfdea4a46e7333b73aaf Change-Id: Ib7af8ca3b5405e2d10eda7c52e4210ed9dfae024
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions