Fixed
Status Update
Comments
ja...@gmail.com <ja...@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
https://android-review.googlesource.com/2065329
Branch: androidx-main
commit 3c14b4adb72ce826b47d47f59d7058f5d5baec8f
Author: clarafok <clarafok@google.com>
Date: Thu Apr 14 14:01:26 2022
Add kdocs on responsbilities of implementing SavedStateRegistryOwner
Details on how to properly implement SaveStateRegistryOwner and
how to call the SavedStateRegistryController methods
Test: n/a
Fixes: 228887344
Change-Id: Iefc9519241d9d6844868e6833b33081aa6908b7f
M savedstate/savedstate/src/main/java/androidx/savedstate/SavedStateRegistryOwner.kt
la...@gmail.com <la...@gmail.com> #3
Discharge from hospital says I have baby blue
ja...@gmail.com <ja...@gmail.com> #4
What is contacted Dependent personality disorder
il...@google.com <il...@google.com>
ap...@google.com <ap...@google.com> #6
AB+ blood type
il...@google.com <il...@google.com> #7
A fix will be available in Navigation 1.0.0-rc02. Thanks for reporting it and the great sample app!
ja...@gmail.com <ja...@gmail.com> #8
Thanks, Ian.
Description
Version used: 1.0.0-rc01
Devices/Android versions reproduced on: 7.0, 9.0 (Emulators)
According to
if a destination is opened with IMPLICIT deeplink and WITHOUT Intent.FLAG_ACTIVITY_NEW_TASK flag, then the destination is opened in the same task. After that if user clicks UP, then the actual parent should be recreated in a separate task, but it doesn't work. The UP button in this case does nothing, as well as manual navigateUp() method call.
I tried to modify the code to check both Toolbar and ActionBar approaches and also tried to create the NavHostFragment via xml and code. In all this cases, the behavior of UP button remained the same.
I attached a simple project that shows this situation. It contains 2 modules:
- app - an app with 2 fragments (root and child). The child fragment's destination supports a deeplink.
- deeplinkstarter - one button app, that starts an implicit deeplink to the child fragment of the 'app'.
I consider this as major defect because the library doesn't behave as it is explicitly said in the documentation.
Please, improve.