Attach nav bar to app during transition for non-remote animation case
- Play fade-out/in animation in AppTransition.goodToGo() if it's not a remote animation. - Create a new class NavFadeAnimationAdapter: - Able to play fade-out and fade-in sequentially. - Able to reparent the animation leash to the specified parent when the animation starts. - This CL also refines a case when users launch an app and then swipe up immediately to enter recent app by canceling animation of the nav token in RecentsAnimationController.attachNavigationBarToApp(). In this case, the swipe-up gesture should have higher priority to control the nav bar. Bug: 185303414 Test: - atest RecentsAnimationControllerTest - Launch clock widget from launcher and observe the transition - Launch an app and then swipe up immediately to enter recent app Change-Id: Ic8ad3dfe4fe3efcf88cf3cfcf362d18e3c47f632
Loading
Please register or sign in to comment