Skip to content
Commit ca274ed0 authored by wilsonshih's avatar wilsonshih
Browse files

Allow apply animation to ActivityRecord after transfer starting window.

If there are two activities be start continuous, it might have a chance
that opening transition cannot be applied becuase the starting window
just been transferred to secondary activity.
To fix this, only set mUseTransferredAnimation to true when the first
ActivityRecord is animating.

Bug: 155030898
Test: atest TaskSnapshotControllerTest AppWindowTokenTests
Test: atest AppWindowTokenTests#testTransferStartingWindowCanAnimate
Change-Id: I09166094514a5867e24e8421e0c829dd7446b123
parent 4942963c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment