Skip to content
Commit 571c1f9b authored by Jeff Chang's avatar Jeff Chang
Browse files

Override the fillsParent() on TaskFragment

The default implementation of fillsParent() on TaskFragment which
results in the system can not get the specified orientation from the
activity in TaskFragment when traversing the windowContainers with
getOrientation().

Move the implementation of fillsParent() from Task to TaskFragment.
Report the taskFragment fills the parent in a full screen window
or matches the parents' bounds. So, we can get the orientation from
activity successfully.

Bug: 207605841
Test: Launch wallpaper picker and check the orientation when rotate
Change-Id: Ieb7e7e009fcfb337b2c7def1b892831d09d98951
parent 20e71a63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment