Merge "Fix freeform task surface is not shown" into sc-dev

This commit is contained in:
Riddle Hsu
2021-06-03 06:47:44 +00:00
committed by Android (Google) Code Review

View File

@@ -4967,7 +4967,8 @@ class Task extends WindowContainer<WindowContainer> {
}
private boolean canBeOrganized() {
if (mForceNotOrganized) {
if (mForceNotOrganized || !mAtmService.mTaskOrganizerController
.isSupportedWindowingMode(getWindowingMode())) {
return false;
}
// All root tasks can be organized