The nav bar isn't restored when swiping an app up to home in landscape
Previously we used FadeRotateAnimationController.isTargetToken() to
determine whether the FadeRotateAnimationController is controlling the
nav bar or not.
But this method is actually to check if the system can run the rotation
animation without waiting for the given window to be drawn.
Add a new method in FadeRotateAnimationController to check whether the
window is controlled by the FadeRotateAnimationController.
Bug: 188749233
Test: manual - swipe an app in landscape to home and observe the nav bar
Change-Id: I6e79bea7d9e7e651254efe9d02b416902372f2cd
2 files changed