diff options
| author | 2024-04-29 16:40:42 -0400 | |
|---|---|---|
| committer | 2024-04-29 17:03:58 -0400 | |
| commit | 7372a60f71def9b07cfeca091dbe2b2fcd3269e3 (patch) | |
| tree | 5eb6be65e941181dc9f2fcbbb4ae3503c97707e1 /libs/gui/DisplayLuts.cpp | |
| parent | c4fe541e51ef33a859d138c189b9d98a1d9afb5b (diff) | |
SF: Prevent crashes in onRefreshRateChangedDebug
The AIDL thread reads HWComposer state without locks, but there may be
a concurrent write on the main thread. Also, the display may no longer
exist by the time the scheduled task runs.
Bug: 241285876
Test: presubmit
Change-Id: I3460e23cad2a884250bebcd58b1eaec9cd309858
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions