Attach navigation bar to app during quick switching
1. Get the SurfaceControl of the nav bar token and reparent it to the current swiped app when recent animation starts. 2. Restore the navigation bar back and decide whether we should play the fade-in animation. Play the fade-in animation when reorderMode is REORDER_MOVE_TO_TOP otherwise just reparent the navigation bar back. 3. Exclude the navigation bar window from snapshot. Bug: 139273001 Test: manual 1. Launch an app 2. Swipe up from navigation bar 3. the nav bar should go up with the app 4. the nav bar should fade-in back to the bottom of the display Test: atest RecentsAnimationControllerTest ZOrderingTests Change-Id: I2b756b0a2bd8ceb7a05146d87d19fec6a501fb4e
Loading
Please register or sign in to comment