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

Commit a5a6973f authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Do not abort empty remote transition from TaskFragmentOrganizer" into main

parents dd54fbf9 5a874c53
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -595,7 +595,10 @@ class WindowOrganizerController extends IWindowOrganizerController.Stub
                }
                final ActionChain chain = mService.mChainTracker.start("tfTransact", transition);
                final int effects = applyTransaction(wct, -1 /* syncId */, chain, caller, deferred);
                if (effects == TRANSACT_EFFECTS_NONE && transition.mParticipants.isEmpty()) {
                if (effects == TRANSACT_EFFECTS_NONE && transition.mParticipants.isEmpty()
                        // Always send the remote transition even if it is no-op because the remote
                        // handler may still want to handle it.
                        && remoteTransition == null) {
                    transition.abort();
                    return;
                }