Merge "Create window decors for leaf tasks & skip non-leafs" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-12-02 20:59:23 +00:00
committed by Android (Google) Code Review

View File

@@ -90,7 +90,7 @@ public class FreeformTaskTransitionObserver implements Transitions.TransitionObs
// This logic relies on 2 assumptions: 1 is that child tasks will be visited before
// parents (due to how z-order works). 2 is that no non-tasks are interleaved
// between tasks (hierarchically).
taskParents.add(change.getContainer());
taskParents.add(change.getParent());
}
if (taskParents.contains(change.getContainer())) {
continue;