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

Commit 18523b6f authored by Ed Heyl's avatar Ed Heyl Committed by The Android Open Source Project
Browse files

Automated import from //branches/master/...@142240,142240

parent 3e7b3c0f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5992,7 +5992,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
                    final boolean clearWhenTaskReset =
                            (target.intent.getFlags()
                                    &Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET) != 0;
                    if (!finishOnTaskLaunch && target.resultTo != null) {
                    if (!finishOnTaskLaunch && !clearWhenTaskReset && target.resultTo != null) {
                        // If this activity is sending a reply to a previous
                        // activity, we can't do anything with it now until
                        // we reach the start of the reply chain.
@@ -6002,7 +6002,7 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
                        if (replyChainEnd < 0) {
                            replyChainEnd = targetI;
                        }
                    } else if (!finishOnTaskLaunch && allowTaskReparenting
                    } else if (!finishOnTaskLaunch && !clearWhenTaskReset && allowTaskReparenting
                            && target.taskAffinity != null
                            && !target.taskAffinity.equals(task.affinity)) {
                        // If this activity has an affinity for another