am 236b9872: Merge "Auto-clearing setError popup" into honeycomb
* commit '236b9872140599d1856d48e53b8e109e506fd88f': Auto-clearing setError popup
This commit is contained in:
@@ -4735,8 +4735,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
if (otherEvent != null) {
|
if (otherEvent != null) {
|
||||||
try {
|
try {
|
||||||
beginBatchEdit();
|
beginBatchEdit();
|
||||||
boolean handled = mInput.onKeyOther(this, (Editable) mText,
|
final boolean handled = mInput.onKeyOther(this, (Editable) mText, otherEvent);
|
||||||
otherEvent);
|
|
||||||
hideErrorIfUnchanged();
|
hideErrorIfUnchanged();
|
||||||
doDown = false;
|
doDown = false;
|
||||||
if (handled) {
|
if (handled) {
|
||||||
@@ -4752,12 +4751,10 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
|
|
||||||
if (doDown) {
|
if (doDown) {
|
||||||
beginBatchEdit();
|
beginBatchEdit();
|
||||||
if (mInput.onKeyDown(this, (Editable) mText, keyCode, event)) {
|
final boolean handled = mInput.onKeyDown(this, (Editable) mText, keyCode, event);
|
||||||
endBatchEdit();
|
|
||||||
hideErrorIfUnchanged();
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
endBatchEdit();
|
endBatchEdit();
|
||||||
|
hideErrorIfUnchanged();
|
||||||
|
if (handled) return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user