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

Commit 5448fcf5 authored by Tiger's avatar Tiger
Browse files

Clear FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT properly

This CL removes FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT when removing
starting window. Otherwise, it will make us to abort any transitions
that the activity is involved.

Fix: 279800916
Test: 1. Open WhatsApp.
      2. Open a conversation.
      3. See if there is an animation while opening the conversation.
Change-Id: I138af8492d1c57f9053cbb27c3c1748989353fd7
parent 706cc584
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2882,6 +2882,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
            mStartingData = null;
            mStartingSurface = null;
            mStartingWindow = null;
            mTransitionChangeFlags &= ~FLAG_STARTING_WINDOW_TRANSFER_RECIPIENT;
            if (surface == null) {
                ProtoLog.v(WM_DEBUG_STARTING_WINDOW, "startingWindow was set but "
                        + "startingSurface==null, couldn't remove");