Merge "Update rotation with animating recents if the device will sleep" into sc-qpr1-dev am: 2e2e4b3ac4

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

Change-Id: Icbec1d643527912b6a8571a80c187c577d6af3b8