summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Rupesh Bansal <brup@google.com> 2023-04-25 08:46:51 +0000
committer Rupesh Bansal <brup@google.com> 2023-04-26 07:22:24 +0000
commit24f717a092e2e86801cbdc834aa032f891865c0d (patch)
treec380f3eee60336e0262e864f07ee876a1d7f74b2 /libs/androidfw/StringPool.cpp
parentb4f8ee63e22cb349db1ea07982f51869c7514a7a (diff)
Fix the issue of accessing BrightnessSetting inside a lock
Given BrightnessSetting is operating on the display lock, acquiring power lock while accessing the BrightnessSetting can result in a deadlock. Bug: 278692011 Test: Manually verified the behaviour is intact Test: atest DisplayBrightnessControllerTest Change-Id: I40c8340895c165da3b96015bc3e8918c259876ac
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions