summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.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> 2024-02-08 20:37:21 +0000
commitdcfa465faa1f3cd9ea6ea2f6b21b83aaf793f284 (patch)
tree0719bff582e40acc41f0ad6aa17da9ea8ea5d88f /libs/hwui/FrameInfoVisualizer.cpp
parent282acf92655d219c6e8a79cbe0a0c60fd8a7bdae (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. Merged-In: Ib7af8ca3b5405e2d10eda7c52e4210ed9dfae024 Change-Id: Ib7af8ca3b5405e2d10eda7c52e4210ed9dfae024 (cherry picked from commit 0973118d2eebbdd4b73cf20026a78efc04ff7bbe)
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions