Finish fixed rotation of recents if it is invisible am: 8f692ef01a am: b961c4ef83

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

Change-Id: Ic5c4692aca2bd6226ed129176814277624ea47f7