commit | e045dd6e81be1bc0faf02b6bb1a42a05146a157e | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Thu Sep 16 21:20:01 2021 +0800 |
committer | Chris Li <lihongyu@google.com> | Tue Sep 21 08:31:07 2021 +0800 |
tree | 50044aefdf483ef3ce09330cbb8234c8e74055b7 | |
parent | 211d6cf754ad22981829d5b72ff9436ae11aada9 [diff] |
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