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

Commit 3abe00f5 authored by Louis Chang's avatar Louis Chang Committed by Android (Google) Code Review
Browse files

Merge "Ensure the next activity of non-focusable task to be visible"

parents 513188ad fc165b97
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2647,7 +2647,11 @@ class ActivityStarter {
            if (next != null) {
                next.setCurrentLaunchCanTurnScreenOn(true);
            }
            if (mTargetStack.isFocusable()) {
                mRootWindowContainer.resumeFocusedTasksTopActivities(mTargetStack, null, mOptions);
            } else {
                mRootWindowContainer.ensureActivitiesVisible(null, 0, !PRESERVE_WINDOWS);
            }
        } else {
            ActivityOptions.abort(mOptions);
        }