Only cancel recent animation for change transition including display
If the transition type is TO_FRONT, the display rotation change can
perform seamlessly with the opening app.
The appearance will be better than legacy transition that there was
an additional rotation animation. Now it can show the app in
destination orientation directly.
Bug: 290553188
Test: Use quickstep to switch to an app that changes requested
orientation when resuming.
Change-Id: I621080fcf9fc306dc64eb3c3ba2ce35b592bd9fe
1 file changed