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

Commit 6f234de0 authored by [1;3C's avatar [1;3C
Browse files

Allow multiple tasks to change in one transition

Not sure why I added this restriction. It breaks split-screen
transitions since enter/exit involves both splits changing
mode.

Bug: 151881448
Test: existing tests pass, transitions with split-screen (when
      enabled) work properly.
Change-Id: I176ee20cfc288ba2275a0739fcc0059435a0337f
parent 54ae0a7c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2477,7 +2477,6 @@ class Task extends WindowContainer<WindowContainer> {
    private boolean shouldStartChangeTransition(int prevWinMode, int newWinMode) {
        if (mWmService.mDisableTransitionAnimation
                || !isVisible()
                || getDisplayContent().mAppTransition.isTransitionSet()
                || getSurfaceControl() == null
                || !isLeafTask()) {
            return false;