We are facing an issue with Motorola devices running Android 11. On other devices, we are unable to reproduce this issue even on Android 11. We have already looked at UnsupportedOperationException: Tried to obtain display from a Context not associated with one but that thread is not active right now as we are not getting any response.
The issue seems to be linked with opening the keyboard in the TextInput fields. The complete error statement is as follows.
Fatal Exception: java.lang.UnsupportedOperationException
Tried to obtain display from a Context not associated with one. Only visual Contexts (such as Activity or one created with Context#createWindowContext) or ones created with Context#createDisplayContext are associated with displays. Other types of Contexts are typically related to background entities and may return an arbitrary display.