summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceControl.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-06-04 16:04:04 -0700
committer Ady Abraham <adyabr@google.com> 2019-06-05 13:43:12 -0700
commit0f4a1b19009a1e71ed2100b63b04aa015a111b44 (patch)
treeae569ff5a05c053c3726d3cea1bb57367f1f7c76 /libs/gui/SurfaceControl.cpp
parent2eeb9c63869b295e444604d7c5470ce6be3744a0 (diff)
SurfaceFlinger: add explicit register for DISPLAY_EVENT_CONFIG_CHANGED
When display refresh rate changes, SF fires DISPLAY_EVENT_CONFIG_CHANGED thru DisplayEventReceiver. If the other end of the pipe doesn't consume the events it may lead to pipe full and dropping of events. Furthermore, The only clients interested in this event in DisplayManager and hwui. To avoid spamming all clients with this event, this change is adding an explicit register for DISPLAY_EVENT_CONFIG_CHANGED events. Bug: 131688378 Test: adb shell /data/nativetest64/libsurfaceflinger_unittest/libsurfaceflinger_unittest Test: trigger config change and observe logcat Change-Id: I5973a1ecc1f3e3ff8d8a0cba19db0e49ef0d5341
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions