Fix for NPE in TextInputLayout onAnimationEnd

This commit is contained in:
serso 2016-04-10 00:15:40 +02:00
parent 08bf51fd2a
commit 629de2b2f7

View File

@ -109,8 +109,8 @@ public abstract class BaseDialogFragment extends DialogFragment implements View.
} }
protected void clearError(@NonNull TextInputLayout textInput) { protected void clearError(@NonNull TextInputLayout textInput) {
textInput.setError(null);
textInput.setErrorEnabled(false); textInput.setErrorEnabled(false);
textInput.setError(null);
} }
protected final void showIme(@NonNull View view) { protected final void showIme(@NonNull View view) {