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
Loading
Please register or sign in to comment