diff options
author | Fyodor Kupolov <fkupolov@google.com> | 2017-05-25 17:06:17 -0700 |
---|---|---|
committer | Fyodor Kupolov <fkupolov@google.com> | 2017-06-12 20:03:26 +0000 |
commit | 0468ee9e4d6927b1f3971a309645cc50bc037ccd (patch) | |
tree | f6ce95008410eca70386c91b5d85a17c7e18cae0 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 1b581e4613e6059ec607ac5614f6ec5081dbf14b (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions