Re-initialize error after attach
If flag for error after attach is not reinitialized, it may cause NullPointerException on subsequent onAttachedWindow if error text was reset to null. Change-Id: I8976c28a6ca71017e5c4b3f29d4eeeb2eda48c38
This commit is contained in:
committed by
Raph Levien
parent
eb95e74e21
commit
09421fab07
@@ -317,7 +317,7 @@ public class Editor {
|
||||
|
||||
mErrorPopup = null;
|
||||
}
|
||||
|
||||
mShowErrorAfterAttach = false;
|
||||
} else {
|
||||
setErrorIcon(icon);
|
||||
if (mTextView.isFocused()) {
|
||||
|
||||
Reference in New Issue
Block a user