Merge "Create window decors for leaf tasks & skip non-leafs" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5c3b3d0ac5
@@ -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
|
// 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
|
// parents (due to how z-order works). 2 is that no non-tasks are interleaved
|
||||||
// between tasks (hierarchically).
|
// between tasks (hierarchically).
|
||||||
taskParents.add(change.getContainer());
|
taskParents.add(change.getParent());
|
||||||
}
|
}
|
||||||
if (taskParents.contains(change.getContainer())) {
|
if (taskParents.contains(change.getContainer())) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user