am dcfb271b: Merge "Fix if ACTION_DOWN and lost focus time too close, it will become long press."
Merge commit 'dcfb271b7fa364d567ffd7c495b2baa28a755251' into gingerbread-plus-aosp * commit 'dcfb271b7fa364d567ffd7c495b2baa28a755251': Fix if ACTION_DOWN and lost focus time too close, it will become long press.
This commit is contained in:
committed by
Android Git Automerger
commit
74a8df2026
@@ -3944,6 +3944,7 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Accessibility
|
|||||||
imm.focusOut(this);
|
imm.focusOut(this);
|
||||||
}
|
}
|
||||||
removeLongPressCallback();
|
removeLongPressCallback();
|
||||||
|
removeTapCallback();
|
||||||
onFocusLost();
|
onFocusLost();
|
||||||
} else if (imm != null && (mPrivateFlags & FOCUSED) != 0) {
|
} else if (imm != null && (mPrivateFlags & FOCUSED) != 0) {
|
||||||
imm.focusIn(this);
|
imm.focusIn(this);
|
||||||
|
|||||||
Reference in New Issue
Block a user