commit | 13531ccab8154a358915a97743cb43c9f067ec62 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Wed May 01 16:26:22 2019 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Thu May 23 11:27:11 2019 +0100 |
tree | f5b24f44a7fe8eb4d9d64bb19407cbf7bf687fae | |
parent | 9ff409c7260f09a862ec64fb4a0c25e86bc14dc0 [diff] |
Fix deadlock in KeyguardDisableHandler At the moment KeyguardDisableHandler calls into DevicePolicyManager to retrive the aggregated password quality for the current user while holding the WindowManager lock. This is a lock inversion and causes deadlock. To fix this, introduce a per-user password quality cache in DevicePolicyCache and switch KeyguardDisableHandler to use that instead. Test: manual Fix: 129087668 Change-Id: I8c02ca442dde76ed350f22ac04a52adc82d21d00