summaryrefslogtreecommitdiff
path: root/libs/gui/DisplayEventDispatcher.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2021-01-27 15:44:50 -0800
committer Rob Carr <racarr@google.com> 2021-01-27 23:50:13 +0000
commitbc384965313eaeb7d50b8755a87fc7ac0d673536 (patch)
tree1b998b88be653ed3c3422fb2ce36f1c57f06c03e /libs/gui/DisplayEventDispatcher.cpp
parent814bc2250c245ddc03f505e8d0424aae66b3567f (diff)
SurfaceFlinger: Null guard for setRelativeLayer
Previous versions of this code (up until a change in October) would simply return false from setRelativeLayer when a null handle was passed. The current code will have a null SurfaceControl in this situation and invoking getHandle will crash. It's unclear why a null handle is being passed to setRelativeLayer but as always SurfaceFlinger should be resistant to invalid input. Bug: 178506688 Test: Existing tests pass Change-Id: Ie6d497b14ec23c848fde3aae4b4940a3ec024f70
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions