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

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

Merge "Ensure the top-resumed-activity is updated after WCT applied" into main

parents 9f7247f5 df7c1e93
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -813,6 +813,10 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
            mService.mTaskSupervisor.setDeferRootVisibilityUpdate(false /* deferUpdate */);
            if (deferResume) {
                mService.mTaskSupervisor.endDeferResume();
                // Transient launching the Recents via HIERARCHY_OP_TYPE_PENDING_INTENT directly
                // resume the Recents activity with no TRANSACT_EFFECTS_LIFECYCLE. Explicitly
                // checks if the top resumed activity should be updated after defer-resume ended.
                mService.mTaskSupervisor.updateTopResumedActivityIfNeeded("endWCT");
            }
            mService.continueWindowLayout();
        }