summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorGarfield Tan <xutan@google.com>2018-11-30 13:00:04 -0800
committerGarfield Tan <xutan@google.com>2018-12-03 09:41:09 -0800
commitd427c6283cda37676ea1328c33598c110b4d7677 (patch)
tree1230ae35beb642137100fb96e96d76183fa86eca /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parente656e67e14af1dead88fad08cc0eb81a87cf4265 (diff)
Fix a bug that effectively disallows hiding surfaces.
InputMonitor checks DragDropController and TaskPositioningController's state to decide if it should show or hide respective surface. However when InputMonitor checks the status when stopping drag-resizing/drag-and-drop, the status is not yet changed because TaskPositioner/DragState instance isn't cleared yet. Therefore this CL clears TaskPositioning before updating InputWindow, and flags the closing state in DragState to avoid surface leak. Bug: 120289807 Test: Drag-resize works with a workaround to another race condition. Change-Id: I743d0a97c937b9d6a06c70d42da34cc77822cd58
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions