6/ Fix some flakey issues with dragging to split
- Ensure that the task info activity type always matches the actual task activity type (can be different than the window configuration type) - Ensure that the targets hit rects respect the insets, and that dragging out of all targets (but still within the window) will hide the last target - Work around race with launching secondary task when splitting, wait until the split screen task org has moved existing tasks to secondary split root before starting the new task, and also update the home task position when going home (b/172686383) - Add a timeout to clean up drag surfaces if SysUI crashes while mid-drag - Clean up some other calls to get activity type/win mode Bug: 169894807 Test: atest DragDropControllerTests Test: atest DragAndDropPolicyTest Test: atest SplitScreenTests Change-Id: I7ae11cc38b1e927d955798ef1056e17c9e435758
Loading
Please register or sign in to comment