am a97f5b8c: am 9d82d324: Merge "Fix bug #7457897 Error icons are not shown in credit card entry form" into jb-mr1.1-dev
* commit 'a97f5b8c2585c87e1b82e5ce3b7aab149668a711': Fix bug #7457897 Error icons are not shown in credit card entry form
This commit is contained in:
@@ -291,6 +291,7 @@ public class Editor {
|
||||
mErrorWasChanged = true;
|
||||
|
||||
if (mError == null) {
|
||||
setErrorIcon(null);
|
||||
if (mErrorPopup != null) {
|
||||
if (mErrorPopup.isShowing()) {
|
||||
mErrorPopup.dismiss();
|
||||
@@ -299,10 +300,11 @@ public class Editor {
|
||||
mErrorPopup = null;
|
||||
}
|
||||
|
||||
setErrorIcon(null);
|
||||
} else if (mTextView.isFocused()) {
|
||||
showError();
|
||||
} else {
|
||||
setErrorIcon(icon);
|
||||
if (mTextView.isFocused()) {
|
||||
showError();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -321,8 +323,6 @@ public class Editor {
|
||||
if (mErrorPopup.isShowing()) {
|
||||
mErrorPopup.dismiss();
|
||||
}
|
||||
|
||||
setErrorIcon(null);
|
||||
}
|
||||
|
||||
mShowErrorAfterAttach = false;
|
||||
|
||||
Reference in New Issue
Block a user