Skip to content
Commit e94a7703 authored by Rubin Xu's avatar Rubin Xu
Browse files

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
parent 53d87ebb
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