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

Commit b66fb491 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixed device restart caused by starting Activity under split-screen...

Merge "Fixed device restart caused by starting Activity under split-screen root task." into main am: 2417c31f am: cc00e10c

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/3079172



Change-Id: I07b8f6452c42b1ab2fe8db8212b7a26ccf0ea5cc
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 07f468a6 cc00e10c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2732,7 +2732,7 @@ class ActivityStarter {
        // If a target task is specified, try to reuse that one
        if (mOptions != null && mOptions.getLaunchTaskId() != INVALID_TASK_ID) {
            Task launchTask = mRootWindowContainer.anyTaskForId(mOptions.getLaunchTaskId());
            if (launchTask != null) {
            if (launchTask != null && launchTask.isLeafTask()) {
                return launchTask;
            }
            return null;