summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorShibin George <shibing@codeaurora.org>2016-07-06 02:12:10 +0530
committerShibin George <shibing@codeaurora.org>2016-07-07 19:45:35 +0530
commit43f5de0125a22e9bcc4cf675034116f754f3bfc2 (patch)
tree6b544b456ebece3903c3d8534c3d99f4bfc95e30 /tools/aapt2/java/JavaClassGenerator.cpp
parentfcae61308ca0a0dc91dc8d8d1e798c6313d202e1 (diff)
Resolve deadlock between ActivityManagerService and PowerManagerService
ActivityManagerService lock and PowerManagerService.mLock can be acquired in different threads in different orders. registerReceiver() here tries to acquire ActivityManagerService internally while holding mLock. A particular call from WindowManagerService acquires these locks in reverse order. This deadlock can be resolved by moving registerReceiver() to another thread. https://code.google.com/p/android/issues/detail?id=215254 Change-Id: I12cd610e61f212a3fb5e441f2c7a557c90afbda4 Signed-off-by: Shibin George <shibing@codeaurora.org>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions