commit | 20214d0a21adfb4e5bc4739676900f301c22e17b | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon Sep 21 17:32:10 2020 +0000 |
committer | Jackeagle <jackeagle102@gmail.com> | Sat Jan 02 04:56:02 2021 +0100 |
tree | 5a7366b37958783bd1e9af13f6257d9ecafc6607 | |
parent | 8a2f1d3961dceecf14dac86ce1b865c76e40e8af [diff] |
Fix deadlock between AppOpsService and HistoricalRegistry. HistoricalRegistry locks its mOnDiskLock first, and then its mInMemoryLock (which is the AppOpsService object), so AppOpsService cannot call into HistoricalRegistry while holding its own lock. Fixes: 168020658 Test: presubmit Change-Id: I0d2a38b6b416c59f10d15b60badf234a80f16152 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>