* commit 'e606a7884dff4acc926cb82bf6492e83e9a1d3af': Fix error overwriting when restoring error
This commit is contained in:
@@ -3813,7 +3813,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