Merge "Fix error overwriting when restoring error"
This commit is contained in:
@@ -3809,7 +3809,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
// Display the error later, after the first layout pass
|
// Display the error later, after the first layout pass
|
||||||
post(new Runnable() {
|
post(new Runnable() {
|
||||||
public void run() {
|
public void run() {
|
||||||
setError(error);
|
if (mEditor == null || !mEditor.mErrorWasChanged) {
|
||||||
|
setError(error);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user