commit | 7372a60f71def9b07cfeca091dbe2b2fcd3269e3 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Apr 29 16:40:42 2024 -0400 |
committer | Dominik Laskowski <domlaskowski@google.com> | Mon Apr 29 17:03:58 2024 -0400 |
tree | 5eb6be65e941181dc9f2fcbbb4ae3503c97707e1 | |
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