diff options
| author | 2023-11-02 15:32:53 +0800 | |
|---|---|---|
| committer | 2023-11-08 07:34:51 +0800 | |
| commit | 112b7a069fdae2111c4521639e61a045424cbc50 (patch) | |
| tree | 5b63c604cdf71acef8a374755f23f206b579d8b9 /libs/androidfw/FileStream.cpp | |
| parent | 10614f6487059a631cda474e820a6e6ff33e208d (diff) | |
Fix janky animation when enter pip from secondary split
This happens to both Activity Embedding split and system split screen.
Two issues to fix:
1. When entering, the pip activity surface is first jump to the left.
This is because the start bounds of the pip Task is not set to the
bounds of the activity original bounds (reset because of fullscreen
mode).
2. When animating the pip content overlay on top, it only covers partial
of the pip surface. This is because the bounds of the secondary split
has an offset, so when animating, the postScale is not using the
correct center.
Fix: 306994352
Test: atest FlickerTestsOther:SecondaryActivityEnterPipTest
Change-Id: I567efd7ed52d91ec49eb4adee81a8cb7a6381ade
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions