diff options
author | Rubin Xu <rubinxu@google.com> | 2017-06-20 17:29:57 +0100 |
---|---|---|
committer | Rubin Xu <rubinxu@google.com> | 2017-06-21 12:59:55 +0000 |
commit | e94a7703cc927c4bf4c4791ea342a57c9217101f (patch) | |
tree | 7f7279e2f91cb72d2bc48204a540c16a3cc4f587 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 53d87ebb559f8dcfa3ac04c5cdf503006f48d8a8 (diff) |
Do not call into ActivityManager when holding mSpManager lock
Otherwise deadlock will arise since keyguard related execution flow
calls into LockSettingsService.havePassword() when holding ActivityManager
lock.
Bug: 62533880
Test: 1. Set device with Pattern/PIN/Password
2. From Quick Settings > Select Add user
3. From Secondary user welcome screen Click "Cancel" and then choose "Keep user"
4. Swipe to go to Security lock screen > Tap on Emergency link > Select Emergency Information > Tap on Edit icon
5. Now unlock the device using PIN/Password/Pattern
6. No deadlock should be observed
Change-Id: I41ec9d44a10c8ea6d2aff270a947fd3b8209fbcf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions