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

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

Prevent cross-activity animation if scene transition is set

By capture the animation type and getResultReceiver from
ActivityOptions, the activity can predict whether there exists a shared
element transition when exit. And for Android U we just skip the
cross-activity animation if client has request a shared element
transition.

Bug: 259428131
Test: atest BackNavigationControllerTests
Test: manual test, verify core won't prepare animation if client
activity has request a shared element transition by
ActivityOptions#makeSceneTransitionAnimation

Change-Id: I0400d528b9caf17086b53bcb3046a2dabcfaf6a5
parent 40f4255a
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