Disable re-editting feature.
Change-Id: I1fd8d7b3037ec8ee2eb468ed7770b10c09c5e73cmain
parent
bc0b0a6478
commit
09ecdc8bd6
|
@ -711,15 +711,16 @@ public class LatinIME extends InputMethodService
|
|||
mLastSelectionEnd = newSelEnd;
|
||||
|
||||
|
||||
// TODO: Uncomment this block when we enable re-editing feature
|
||||
// If a word is selected
|
||||
if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart)
|
||||
/*if ((candidatesStart == candidatesEnd || newSelStart != oldSelStart)
|
||||
&& (newSelStart < newSelEnd - 1 || (!mPredicting))
|
||||
&& !mVoiceInputHighlighted) {
|
||||
abortCorrection(false);
|
||||
if (isCursorTouchingWord() || mLastSelectionStart < mLastSelectionEnd) {
|
||||
postUpdateOldSuggestions();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue