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

Commit b33de1f6 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Ensure the next activity of non-focusable task to be visible" into rvc-qpr-dev

parents 3e20c3e9 1d83fdba
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2545,7 +2545,11 @@ class ActivityStarter {

    private void resumeTargetStackIfNeeded() {
        if (mDoResume) {
            if (mTargetStack.isFocusable()) {
                mRootWindowContainer.resumeFocusedStacksTopActivities(mTargetStack, null, mOptions);
            } else {
                mRootWindowContainer.ensureActivitiesVisible(null, 0, !PRESERVE_WINDOWS);
            }
        } else {
            ActivityOptions.abort(mOptions);
        }