[MaterialTimePicker] Fix Input mode is not changed when keyboard icon is clicked when the app is returned from background

Resolves https://github.com/material-components/material-components-android/pull/2419

GIT_ORIGIN_REV_ID=80ba4c214cbd565ad461bef80fb9ae01b8671a0e
PiperOrigin-RevId: 402550766
This commit is contained in:
nikhiljainlive 2021-10-12 09:51:29 -04:00 committed by Daniel Nizri
parent c1f7dfc314
commit 0181029efb

View File

@ -307,8 +307,8 @@ public final class MaterialTimePicker extends DialogFragment {
}
@Override
public void onStop() {
super.onStop();
public void onDestroyView() {
super.onDestroyView();
activePresenter = null;
timePickerClockPresenter = null;
timePickerTextInputPresenter = null;