summaryrefslogtreecommitdiff
path: root/libs/gui/ISurfaceComposer.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2024-03-27 22:20:24 -0700
committer Vishnu Nair <vishnun@google.com> 2024-05-29 16:48:07 +0000
commit3b468eca28c385ea61832b96dc5387bcaa32b25e (patch)
tree8990f911273497ec2009586ad1fc618f43240964 /libs/gui/ISurfaceComposer.cpp
parentb00cdc555627154d0ac05fb4b3a882643617975f (diff)
Fix sync issue with handling display state changes
We may miss some state changes if a display state change comes between processDisplayChangesLocked and commitTransactions. Fix this by grabbing the state lock for the duration of display updates in commit. Test: steps in bug Bug: 330105711, 330103914, 328539539 Merged-In: I4798961551f78d75c45ead6dea5ebca895e5ef7d Change-Id: I4798961551f78d75c45ead6dea5ebca895e5ef7d (cherry picked from commit 878911f7df21c700ddbe9e9c9d28cd0a1776946f)
Diffstat (limited to 'libs/gui/ISurfaceComposer.cpp')
0 files changed, 0 insertions, 0 deletions