Merge "Fix error overwriting when restoring error"

This commit is contained in:
Alan Viverette
2014-11-21 20:40:28 +00:00
committed by Gerrit Code Review

View File

@@ -3809,7 +3809,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
// Display the error later, after the first layout pass
post(new Runnable() {
public void run() {
setError(error);
if (mEditor == null || !mEditor.mErrorWasChanged) {
setError(error);
}
}
});
}