summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorLouis Chang <louischang@google.com>2020-09-08 16:55:02 +0800
committerLouis Chang <louischang@google.com>2020-09-14 11:18:30 +0800
commit235e6594c6c6739c173e909335d222323c45ee46 (patch)
tree481da03bcd9759d3036c4b1f295514976bf0254b /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent729b60c01cf6554ba72163f9a9d611bac0aaac56 (diff)
Ensure listeners got notified whenever positioned a task to front
Task listeners not always get notified when a task move to front because the event was only scheduled in Task#moveTaskToFront(). Now we are doing that while positioning tasks. Also moved #updateTaskMovement to Task#positionChildAt() vs. invoked in several places. Note that the intermediate tasks-to-front changes of a certain procedure would all be sent to listeners. For example, now the #onTaskMovedToFront would be called twice when starting a task from recents, because the home task was moved to front before moving the target task to top. Bug: 134632511 Test: atest TaskStackChangedListenerTest Change-Id: I6dbb3d4af18ecf9949ab26ce8b1f60d1ae300852
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions