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

Commit c739eabb authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Prevent NPE when dropping app icon to split" into sc-v2-dev

parents 15cf3040 603bda15
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -249,14 +249,17 @@ public class SplitScreenController implements DragAndDropPolicy.Starter,
                        });
                        return;
                    }
                }
                } else {
                    for (int i = 0; i < apps.length; ++i) {
                        if (apps[i].mode == MODE_OPENING) {
                            t.show(apps[i].leash);
                        }
                    }
                }
                RemoteAnimationTarget divider = mStageCoordinator.getDividerBarLegacyTarget();
                if (divider.leash != null) {
                    t.show(divider.leash);
                }
                t.apply();
                if (cancelled) return;
                try {