Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0218970a authored by Alan Viverette's avatar Alan Viverette Committed by Gerrit Code Review
Browse files

Merge "Fix error overwriting when restoring error"

parents 47172f53 545a8bbe
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -3809,8 +3809,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            // Display the error later, after the first layout pass
            post(new Runnable() {
                public void run() {
                    if (mEditor == null || !mEditor.mErrorWasChanged) {
                        setError(error);
                    }
                }
            });
        }
    }