Fixed
Status Update
Comments
jb...@google.com <jb...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 50d237e27be6f5ec9dff98af90910ef65fae9f08
Author: Clara Fok <clarafok@google.com>
Date: Tue Feb 07 16:39:21 2023
Annotate NavController#navigate with MainThread
Test: n/a
Bug: 263427111
Relnote: "All NavController#navigate overloads are now annotated with @MainThread to ensure that they are called on main thread."
Change-Id: I2c0b03cf115708fd40d0eee6359bae7302141105
M navigation/navigation-runtime/api/current.txt
M navigation/navigation-runtime/api/public_plus_experimental_current.txt
M navigation/navigation-runtime/api/restricted_current.txt
M navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
https://android-review.googlesource.com/2425402
Branch: androidx-main
commit 50d237e27be6f5ec9dff98af90910ef65fae9f08
Author: Clara Fok <clarafok@google.com>
Date: Tue Feb 07 16:39:21 2023
Annotate NavController#navigate with MainThread
Test: n/a
Bug: 263427111
Relnote: "All NavController#navigate overloads are now annotated with @MainThread to ensure that they are called on main thread."
Change-Id: I2c0b03cf115708fd40d0eee6359bae7302141105
M navigation/navigation-runtime/api/current.txt
M navigation/navigation-runtime/api/public_plus_experimental_current.txt
M navigation/navigation-runtime/api/restricted_current.txt
M navigation/navigation-runtime/src/main/java/androidx/navigation/NavController.kt
jo...@gmail.com <jo...@gmail.com> #3
Ty!!
cl...@google.com <cl...@google.com> #4
This has been fixed internally and will be available in navigation 2.6.0-alpha06
na...@google.com <na...@google.com> #5
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.navigation:navigation-runtime:2.6.0-alpha06
Description
Component used: Navigation Version used: 2.5.0-SNAPSHOT
Looks like the
@MainThread
annotation is missing on these two overloads. Should it be added?