diff options
| author | Yohei Yukawa <yukawa@google.com> | 2014-10-06 11:02:24 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-10-06 11:02:24 +0000 |
| commit | 4f04fd95f40377e94a35c0385352aa0f16b4695f (patch) | |
| tree | 6d8354340ccb245d977b4608f2d17996815a1e67 /java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | |
| parent | 552470c882b96ce69f060f2f54470e4b19da9bd8 (diff) | |
| parent | 81c2dfe9c64f07b553b6573525e4285f2a8ab199 (diff) | |
Merge "Remove ENABLE_CURSOR_ANCHOR_INFO_CALLBACK"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java')
| -rw-r--r-- | java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java index 1b1d5e7e5..f67a9a6ef 100644 --- a/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java +++ b/java/src/com/android/inputmethod/latin/inputlogic/InputLogic.java @@ -169,14 +169,11 @@ public final class InputLogic { mInputLogicHandler.reset(); } - if (ProductionFlags.ENABLE_CURSOR_ANCHOR_INFO_CALLBACK) { - // AcceptTypedWord feature relies on CursorAnchorInfo. - if (settingsValues.mShouldShowUiToAcceptTypedWord) { - mConnection.requestCursorUpdates(true /* enableMonitor */, - true /* requestImmediateCallback */); - } - mTextDecorator.reset(); + if (settingsValues.mShouldShowUiToAcceptTypedWord) { + mConnection.requestCursorUpdates(true /* enableMonitor */, + true /* requestImmediateCallback */); } + mTextDecorator.reset(); } /** |
