Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
The
invoke()
method is the only API exposed fromActivityResultRegistry
. This used to make since becauseActivityResultLauncher
used the kotlininvoke()
and invoking the launcher would callinvoke()
on the registry. SinceActivityResultLauncher
has moved to usinglaunch()
this connection is no longer clear.We should change the
invoke()
inActivityResultRegistry
to beonLaunch()
so it is clear that it is executed once the call tolaunch()
is made.