summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml
diff options
context:
space:
mode:
author Winson Chung <winsonc@google.com> 2024-06-28 07:30:50 +0000
committer Winson Chung <winsonc@google.com> 2024-06-28 18:31:56 +0000
commitf8e279dc91595335a006763281749a15724140de (patch)
tree62cb57ca25f11d54292695f4d0aa7b3678cba19d /tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml
parentae9a5d98a4264e9355c2f3d0f6cd2f9a1790f38d (diff)
Fix issue with incorrect drag starter being used and handle removed tasks
- This CL has two parts: 1) We were always using the split starter to start tasks, but if the top-task when the drag started is removed, then it will incorrectly attempt to bring forward another task to split with, or if there are no other tasks, it will leave the device in a broken split state 2) In order to handle 1), we need to update the drag session and layout when tasks are removed while a drag is active. We do this by registering a listener on the organizer (it doesn't need to be synchronized with the removal, just notified), and then we recalculate the running task to determine whether dropping should launch in fullscreen or split Flag: EXEMPT bugfix Bug: 346694675 Test: atest WMShellUnitTests Test: Start a drag, kill the app behind and ensure that the drag can still continue without ending up in a broken split state Change-Id: I7009389102005e20563973b48143488e86628715
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/AndroidTest.xml')
0 files changed, 0 insertions, 0 deletions