Skip to content

Commit

Permalink
[MaterialTimePicker] Fix crash when clicking OK/Cancel/Icon on text i…
Browse files Browse the repository at this point in the history
…nput mode due to hiding keyboard

PiperOrigin-RevId: 534824218
  • Loading branch information
paulfthomas authored and afohrman committed May 24, 2023
1 parent 82a91c8 commit 1fcde2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ public void show() {
public void hide() {
View currentFocus = timePickerView.getFocusedChild();
if (currentFocus != null) {
ViewUtils.hideKeyboard(currentFocus);
ViewUtils.hideKeyboard(currentFocus, /* useWindowInsetsController= */ false);
}

timePickerView.setVisibility(GONE);
Expand Down

0 comments on commit 1fcde2c

Please sign in to comment.