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

Commit 1edbc766 authored by Craig Mautner's avatar Craig Mautner Committed by Android Git Automerger
Browse files

am 9a04435e: Merge "Compare tasks not activities."

* commit '9a04435e':
  Compare tasks not activities.
parents 1a18832c 9a04435e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1418,7 +1418,8 @@ public final class ActivityStackSupervisor {
                            null : lastStack.topRunningNonDelayedActivityLocked(notTop);
                    if (curTop != null && curTop.task != intentActivity.task) {
                        r.intent.addFlags(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
                        if (sourceRecord == null || sourceStack.topActivity() == sourceRecord) {
                        if (sourceRecord == null || (sourceStack.topActivity() != null &&
                                sourceStack.topActivity().task == sourceRecord.task)) {
                            // We really do want to push this one into the
                            // user's face, right now.
                            movedHome = true;