From 629de2b2f7ac1311d2b6974c764a209365e64d26 Mon Sep 17 00:00:00 2001 From: serso Date: Sun, 10 Apr 2016 00:15:40 +0200 Subject: [PATCH] Fix for NPE in TextInputLayout onAnimationEnd --- .../org/solovyev/android/calculator/BaseDialogFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/solovyev/android/calculator/BaseDialogFragment.java b/app/src/main/java/org/solovyev/android/calculator/BaseDialogFragment.java index 1d2049c4..93758196 100644 --- a/app/src/main/java/org/solovyev/android/calculator/BaseDialogFragment.java +++ b/app/src/main/java/org/solovyev/android/calculator/BaseDialogFragment.java @@ -109,8 +109,8 @@ public abstract class BaseDialogFragment extends DialogFragment implements View. } protected void clearError(@NonNull TextInputLayout textInput) { - textInput.setError(null); textInput.setErrorEnabled(false); + textInput.setError(null); } protected final void showIme(@NonNull View view) {