summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRubin Xu <rubinxu@google.com>2019-05-01 16:26:22 +0100
committerRubin Xu <rubinxu@google.com>2019-05-23 11:27:11 +0100
commit13531ccab8154a358915a97743cb43c9f067ec62 (patch)
treef5b24f44a7fe8eb4d9d64bb19407cbf7bf687fae /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9ff409c7260f09a862ec64fb4a0c25e86bc14dc0 (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions