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

Skip to content
Commit 0468ee9e authored by Fyodor Kupolov's avatar Fyodor Kupolov
Browse files

In the stopping/shutdown state return unlock state of the user key

UserManager.isUserUnlocked should return true when user is stopping,
but encryption key is unlocked. Otherwise it causes issues in
non-cryptoaware apps that can can run while user is in STATE_STOPPING

Test: create/start/remove managed profiles in a loop and verify there
      are no app or system crashes
Bug: 38212686

Change-Id: I47aa520269aafe3d3c967b6841ff46e765c446bd
parent 1b581e46
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