Merge "Attempt #2 to fix options pop up behavior" into pi-preview1-androidx-dev
diff --git a/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java b/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
index c34dc65..8d069ba 100644
--- a/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
+++ b/navigation/ui/src/main/java/androidx/navigation/ui/NavigationUI.java
@@ -68,7 +68,6 @@
private static boolean onNavDestinationSelected(@NonNull MenuItem item,
@NonNull NavController navController, boolean popUp) {
NavOptions.Builder builder = new NavOptions.Builder()
- .setPopUpTo(navController.getGraph().getStartDestination(), false)
.setLaunchSingleTop(true)
.setEnterAnim(R.anim.nav_default_enter_anim)
.setExitAnim(R.anim.nav_default_exit_anim)