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

Commit 8bea4374 authored by Jeff Chang's avatar Jeff Chang Committed by Android (Google) Code Review
Browse files

Merge "Make singleTop activity be created with different display" into sc-dev

parents 43cf52f0 fd6a81c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1708,7 +1708,7 @@ class ActivityStarter {

        // If the activity being launched is the same as the one currently at the top, then
        // we need to check if it should only be launched once.
        final Task topRootTask = mRootWindowContainer.getTopDisplayFocusedRootTask();
        final Task topRootTask = mPreferredTaskDisplayArea.getFocusedRootTask();
        if (topRootTask != null) {
            startResult = deliverToCurrentTopIfNeeded(topRootTask, intentGrants);
            if (startResult != START_SUCCESS) {