Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dcfa465f authored by Aaron Liu's avatar Aaron Liu
Browse files

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 0973118d)
parent 282acf92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment