Report moved-to-top as the last launched activity

When starting home while it has an embedded activity on top,
the home activity will reorder to top by
Task#moveTaskFragmentsToBottomIfNeeded

Task
 > TaskFragment > embedded activity
 > HomeActivity

Then the launched activity should be home instead of the
embedded activity.

Fix: 373284518
Flag: EXEMPT bugfix
Test: ActivityStarterTests.testRecordActivityMovementBeforeDeliverToTop
Test: Launch chrome from embedded minus one.
      Swipe up to return to home.
      The launch trace should end by home package instead
      if a long period until minus one activity is visible again.
Change-Id: If93032a18d225469ca05affb1df525659f786586
2 files changed