Skip to content
Commit 0e0d7bbd authored by shawnlin's avatar shawnlin Committed by Shawn Lin
Browse files

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
parent ecc7fdfe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment