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

Skip to content
Commit e045dd6e authored by Chris Li's avatar Chris Li
Browse files

Use TaskFragment bounds instead of TaskBounds for Activity animation

The animation bounds is used as the RemoteAnimationTarget#localBounds.
It should be the TaskFragment bounds instead of Task bounds because the
Activity may not fill the Task when it is in a TaskFragment.

Also clean up ROOT_TASK_CLIP_BEFORE_ANIM which has no more use case.

Bug: 196173550
Test: test with demo app
Test: atest WmTests:ActivityRecordTests
Change-Id: Iff58afdb0bbae95d3f6a5756de06c0d2dfff7c88
parent 211d6cf7
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