Merge "Finish fixed rotation while the task has done transition" into rvc-dev am: 1a3468740a am: eb4731a06c am: 76afce6ff0

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11894999

Change-Id: Ie6a2d3c302cf1608bad5ad6facadd6986d21145c