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

Skip to content
Commit 0973118d 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.
Change-Id: I5b346f0ecc95b45b73b9cfdea4a46e7333b73aaf

Change-Id: Ib7af8ca3b5405e2d10eda7c52e4210ed9dfae024
parent 4129e187
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