When creating a stack for the recents animation, ensure it is not top most

- When the avoidMoveToFront flag is set on the activity options (used only
  for the recents animation), avoid creating a stack for the new recents
  activity in the top, as this changes the visibility of the front most
  task that we are animating from.

Bug: 119661847
Test: adb shell am force-stop com.google.android.apps.nexuslauncher
      then try and swipe up

Change-Id: I06bcb304f5c4e7fd3a7b1d9b72d8e119b865f448
2 files changed