Fixed
Status Update
Comments
ga...@gmail.com <ga...@gmail.com> #2
Project: platform/frameworks/support
Branch: androidx-main
Author: Clara Fok <
Link:
Fix ActivityNavigator not encoding with NavType
Expand for full commit details
Fix ActivityNavigator not encoding with NavType
When navigating with dynamic arugments, ActivityNavigator should first try to encode the argument value with the associated NavType. If NavType is not present (XML file has dataPattern but not arguments added) then we should fallback to existing behavior of just encoding the arg value with toString().
Test: ./gradlew navigation:navigation-runtime:cC
Bug: 383616432
Relnote: "When navigating to activity with dataPattern, ActivityNavigator will now try to encode the arg value with the argument's NavType."
Change-Id: I163763c46090ae9b4c8ee75d52142986e507c0c3
Files:
- M
navigation/navigation-runtime/src/androidTest/java/androidx/navigation/ActivityNavigatorTest.kt
- M
navigation/navigation-runtime/src/main/java/androidx/navigation/ActivityNavigator.kt
Hash: ad1ddb7df46854191c753e309e72216fae9309de
Date: Mon Jan 06 15:51:40 2025
ak...@google.com <ak...@google.com>
ak...@google.com <ak...@google.com> #3
Fixed internally and available in navigation 2.9.0-alpha05
ak...@google.com <ak...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.navigation:navigation-runtime:2.9.0-alpha05
androidx.navigation:navigation-runtime:2.8.6
Description
What
User experience
What type of Android issue is this?
Reboot, Crash or Device Hang
What steps would let us observe this issue?
What did you expect to happen?
Phone to receive message without crashing
What actually happened?
Phone crashed
What was the effect of this issue on your device usage, such as lost time or work?
Extreme - device was unusable
When
Time and frequency
When did this happen?
Aug 29, 2024 6:19 PM GMT-04:00
How often has this happened?
Once
Where
Component
Suggested component: <not visible> (1630575)
Build and device data
- Build Number: google/husky_beta/husky:15/AP41.240726.009/12231213:user/release-keys
(Note: It is the build when sending this report. For exact build reference, please see the attached bugreport.)
- SoC Revision: Zuma B1
Debugging information
Google Play services
com.google.android.gms
Version 243433045 (24.34.33 (260408-666809342))
System App (Updated)
Android System WebView
com.google.android.webview
Version 653310333 (127.0.6533.103)
System App (Updated)
Network operator: AT&T
SIM operator: AT&T
Filed by Android Beta Feedback. Version (Updated): 2.44-betterbug.external_20240710_RC02 (DOGFOOD)https://developer.android.com/preview/feedback#feedback-app .
To learn more about our feedback process, please visit