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

Commit 2c924fb2 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #17329066: Crash in ActivityManager

Change-Id: Ib59b7a8d65b3abece82bc58897e21600af4d73f5
parent 78358b17
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2072,7 +2072,7 @@ public final class ActivityStackSupervisor implements DisplayListener {
            }
            targetStack = inTask.stack;
            targetStack.moveTaskToFrontLocked(inTask, r, options);
            mWindowManager.moveTaskToTop(targetStack.topTask().taskId);
            mWindowManager.moveTaskToTop(inTask.taskId);

            // Check whether we should actually launch the new activity in to the task,
            // or just reuse the current activity on top.