Loading
Capture screenshot when animating to home
This is to ensure the task thumbnail is captured in the correct orientation, rather than waiting until after the task pauses which might be after the device rotates to portrait. Also update the state to wait until screenshot is captured before finishing the transition to home. Change-Id: Ie42778d527c382ff80a2edf5d2a5dc7490e4e5ff