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

Skip to content
Commit 2722e5ce authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Remove hasCommittedReparentToAnimationLeash

For BackNavigationController:
It was added in commit 642b0d8c to avoid conflicting with manual
created leash, but commit 312da011 has changed it to regular
WC#startAnimation which will manage the leash by SurfaceAnimator.

Also the mPendingAnimationBuilder will run on onTransitionFinish,
but hasCommittedReparentToAnimationLeash doesn't mean that there
is a transition. That becomes an unpaired condition, so it should
not check that to set pending.

For AbsAppSnapshotController:
It was added for very old split screen when dismissing one side
(commit 7f1fa997). Since shell transition, there is no longer a
leash in core, so the condition for transition never satisfied.
And even the snapshot can still be taken successfully for the
original dismiss-split case.

Bug: 163976519
Flag: EXEMPT unused logic
Test: CtsWindowManagerDeviceActivity

Change-Id: Ic61e5736d7ad85064ce5f43edcd4c272d406c612
parent b770541d
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