diff options
| author | 2023-06-07 00:32:30 -0600 | |
|---|---|---|
| committer | 2023-06-07 22:56:06 +0800 | |
| commit | 98f7b6ea3acdb05476a46b69c7e090df25fd1196 (patch) | |
| tree | 69c115a1df70121612cd7ec74ed22081d67ee966 /libs/androidfw/FileStream.cpp | |
| parent | f4f5ce437c9718f4cf898fe3d00e51ce85a75b13 (diff) | |
Animate PiP with considering next rotation
- Make sure that fixed rotation state is set in
PipTransition#startEnterAnimation according to the change info.
- Call setEndFixedRotation if the display rotation will be changed
by a different task.
Also remove a dead code in handleSwipePipToHomeTransition which
was fixed by commit 19da8ae.
Bug: 285089607
Test: Case 1: Click notification which starts an activity in
a different orientation with remote animation
and make the pausing app enter PiP at the same time.
Case 2: A task contain 2 activities, its top activity enters
PiP in a new task from landscape. And the next activity
in the task is portrait.
Change-Id: Ibcf2bb90a0abd0c100d48aa27f1b7ab93e8d78ec
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions