Skip to content

Commit

Permalink
[TimePicker] Restore hour/minute selection when switch to text mode
Browse files Browse the repository at this point in the history
This also opens the keyboard automatically when switching the input mode.

Resolves #1511

PiperOrigin-RevId: 443096864
  • Loading branch information
drchen authored and dsn5ft committed Apr 20, 2022
1 parent 5b78bf4 commit 72abed0
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -230,6 +230,7 @@ public void onSelectionChanged(int selection) {
@Override
public void show() {
timePickerView.setVisibility(View.VISIBLE);
onSelectionChanged(time.selection);
}

@Override
Expand Down

0 comments on commit 72abed0

Please sign in to comment.