[automerger skipped] Merge "Account for last animated-to-sleep state when calculating nav visibility" into sc-dev am: 457af020e8 -s ours am: 808922b93e -s ours

am skip reason: Merged-In I6d3f7f92be567bb561f8cfc62a367c97b00c799d with SHA-1 4df879db93 is already in history

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

Change-Id: I6ec585b052b58da3766b96543702cca3fd5964d2