TaskOrganizer: Always launch MULTI_WINDOW tasks in new stack

Otherwise they all end up under a single root task and we can't
organize them independently.

Bug: 139371701
Test: TaskOrganizerMultiWindowTest
Change-Id: I0e2571c23e405efeb9accbd30e68783bba07898d
This commit is contained in:
Robert Carr
2020-02-06 13:53:46 -08:00
parent f6690d1c7e
commit cb1dde606e

View File

@@ -5659,7 +5659,8 @@ class DisplayContent extends WindowContainer<DisplayContent.DisplayChildWindowCo
return activityType == ACTIVITY_TYPE_STANDARD
&& (windowingMode == WINDOWING_MODE_FULLSCREEN
|| windowingMode == WINDOWING_MODE_FREEFORM
|| windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY);
|| windowingMode == WINDOWING_MODE_SPLIT_SCREEN_SECONDARY
|| windowingMode == WINDOWING_MODE_MULTI_WINDOW);
}
/**