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

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

Merge "Avoid a potential NPE."

parents e1223503 80912001
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2354,7 +2354,7 @@ class ActivityStarter {
                    mMovedToFront = true;
                }

                if (launchStack.topTask() == null) {
                if (launchStack != null && launchStack.topTask() == null) {
                    // The task does not need to be reparented to the launch stack. Remove the
                    // launch stack if there is no activity in it.
                    Slog.w(TAG, "Removing an empty stack: " + launchStack);