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);
|
||||
}
|
||||
removeLongPressCallback();
|
||||
removeTapCallback();
|
||||
onFocusLost();
|
||||
} else if (imm != null && (mPrivateFlags & FOCUSED) != 0) {
|
||||
imm.focusIn(this);
|
||||
|
||||
Reference in New Issue
Block a user