Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b36e8a3 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Prevent assign layer on DisplayArea while in a transition" into main

parents 2fdf339d 646e8f0b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -658,8 +658,8 @@ class TransitionController {
        }
        // Always allow WindowState to assign layers since it won't affect transition.
        return wc.asWindowState() != null || (!isPlaying()
                // Don't assign task while collecting.
                && !(wc.asTask() != null && isCollecting()));
                // Don't assign task or display area layers while collecting.
                && !((wc.asTask() != null || wc.asDisplayArea() != null) && isCollecting()));
    }

    @WindowConfiguration.WindowingMode