You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed: Fix NullPointerException triggered when trying to show keyboard without dialog view in focus by pressing outside of bottom sheets dialog
`termux-dialog sheet -v 'Item One','Item Two'`
```
java.lang.NullPointerException: Attempt to invoke virtual method 'android.os.IBinder android.view.View.getWindowToken()' on a null object reference
at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1668)
at android.view.inputmethod.InputMethodManager.showSoftInput(InputMethodManager.java:1592)
at com.termux.api.apis.DialogAPI$DialogActivity$BottomSheetInputMethod.showKeyboard(DialogAPI.java:719)
at com.termux.api.apis.DialogAPI$DialogActivity$BottomSheetInputMethod$1.cancel(DialogAPI.java:666)
at com.google.android.material.bottomsheet.BottomSheetDialog$2.onClick(BottomSheetDialog.java:327)
```
Closes#486
0 commit comments