Detach the nav once the endTarget is determined as HOME

Bug: 189900722
Test: manual - swipe up to home from an app and observe the nav
Change-Id: I421de17fe4d8413deaf9ebd63166a6d2d00d096e
This commit is contained in:
shawnlin
2021-06-03 12:57:13 +08:00
parent b177133e7b
commit 2b006fb27b
2 changed files with 13 additions and 1 deletions
@@ -154,6 +154,14 @@ public class RecentsAnimationController {
});
}
/**
* @see RecentsAnimationControllerCompat#detachNavigationBarFromApp
*/
@UiThread
public void detachNavigationBarFromApp(boolean moveHomeToTop) {
UI_HELPER_EXECUTOR.execute(() -> mController.detachNavigationBarFromApp(moveHomeToTop));
}
/**
* Sets the final surface transaction on a Task. This is used by Launcher to notify the system
* that animating Activity to PiP has completed and the associated task surface should be