ab4c87e1905dc7786505d336f3c09d85192426a4 |
|
04-Jun-2018 |
Ian Lake <ilake@google.com> |
Apply pop first in OnNavigatorNavigatedListener Avoid IllegalArgumentExceptions when popping from a destination back to a nested destination when the Navigator initiates the pop operation (i.e., when you hit the system back button when using Fragment destinations). By popping destinations off the NavController's back stack first, we ensure that the subsequent findDestination() call runs with the correct current destination, allowing nested destinations to be found. Test: new NavControllerTest BUG: 80453447 Change-Id: I71297c60d4a794cb43f5c55ffd1fb98f81a4ca9f
/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerTest.java
|
f6d4a5fe409be1f774a098b1714c487791138eeb |
|
18-May-2018 |
Ian Lake <ilake@google.com> |
Create a new Bundle for deep link arguments When deep linking, we pass the full Intent onto each destination. Avoid creating a StackOverflowError by creating a new top level Bundle for the arguments rather than reusing the intent.getExtras().getBundle( KEY_DEEP_LINK_EXTRAS) Bundle. Test: new test passes BUG: 79737336 Change-Id: I51bb70658c8fdab0de0ada582587aec98f643947
/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerTest.java
|
1503d52153986fdcfe7e744795010708b7410892 |
|
15-Feb-2018 |
Ian Lake <ilake@google.com> |
Move Navigation to androidx.navigation package Test: existing tests pass BUG: 73496185 Change-Id: I8b4f08b1aa5f9c5678816f47302463fb14e2c629
/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/NavControllerTest.java
|