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

Skip to content
Commit 0aafdf8d authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Only set crop if TaskFragment does not fill its parent

In case the crop is inconsistent when the activity has rotation
transform, e.g.
 Task -> Shell knows how to animate it, so the crop will be updated.
  - TaskFragment -> no one updates its crop (not in transition info).
    - ActivityRecord -> rotated surface.

Bug: 381193234
Flag: EXEMPT bugfix
Test: atest TaskFragmentTest#testOnConfigurationChanged
Test: Expand an Activity in an organized TaskFragment from PiP
      to fullscreen with different orientation.
Change-Id: I1f8067e388af71a6ad57848ef8b07a12ffa8aceb
parent f7c4dc87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment