commit | 24f717a092e2e86801cbdc834aa032f891865c0d | [log] [tgz] |
---|---|---|
author | Rupesh Bansal <brup@google.com> | Tue Apr 25 08:46:51 2023 +0000 |
committer | Rupesh Bansal <brup@google.com> | Wed Apr 26 07:22:24 2023 +0000 |
tree | c380f3eee60336e0262e864f07ee876a1d7f74b2 | |
parent | b4f8ee63e22cb349db1ea07982f51869c7514a7a [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