Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
na...@google.com <na...@google.com> #3
Tested on Android 12 Emulator with custom executor, but cannot repro this issue.
Description
Currently FocusRequester.requestFocus() has no return value. Users have to use an onFocusChanged callback to determine whether the requestFocus succeeded.
We can't change the API of requestFocus() until we move to Compose 2.0. However in preparation for that, make the underlying FocusModifier.requestFocus() return a boolean. This might be useful in internal code that calls FocusModifier.requestFocus()