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

Commit 34f40913 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Ignore pip TransitionInfo Change that doesn't have taskInfo

Test: Original bug this change was added for isn't affected.
Unable to repro crash
Fixes: 349625810
Flag: EXEMPT bugfix

Change-Id: Ifef568f5eefc068bd9ea8a97f669fc1315573098
parent e8c2428c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -184,7 +184,8 @@ public class MixedTransitionHelper {

        for (int i = info.getChanges().size() - 1; i >= 0; --i) {
            TransitionInfo.Change change = info.getChanges().get(i);
            if (change == pipChange || !isOpeningMode(change.getMode())) {
            if (change == pipChange || !isOpeningMode(change.getMode()) ||
                    change.getTaskInfo() == null) {
                // Ignore the change/task that's going into Pip or not opening
                continue;
            }