Make recents activity follow the orientation of activity behind

Since shell transition, recents activity will be moved to top for
recents animation if default home is not recents. And because top
activity is able to affect display orientation. Then the appearance
may not look smooth by the orientation change.

Bug: 308639215
Test: Enable auto rotation. Set a 3rd party portrait home.
      Enter recents by gesture from home.
      The overview should show the same orientation as home.
Change-Id: I36cce1438bef2d2b472b10eebfe00fd3e86eb308
1 file changed