Merge "Supress SuggestionPopup for original field." into nyc-dev
am: c1cd17f918
* commit 'c1cd17f91843decf8e8ced6546cbbd634798c525':
Supress SuggestionPopup for original field.
This commit is contained in:
@@ -3178,7 +3178,7 @@ public class Editor {
|
||||
((Spannable) mTextView.getText()).removeSpan(mSuggestionRangeSpan);
|
||||
|
||||
mTextView.setCursorVisible(mCursorWasVisibleBeforeSuggestions);
|
||||
if (hasInsertionController()) {
|
||||
if (hasInsertionController() && !extractedTextModeWillBeStarted()) {
|
||||
getInsertionController().show();
|
||||
}
|
||||
}
|
||||
@@ -3328,6 +3328,9 @@ public class Editor {
|
||||
@Override
|
||||
public void show() {
|
||||
if (!(mTextView.getText() instanceof Editable)) return;
|
||||
if (extractedTextModeWillBeStarted()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (updateSuggestions()) {
|
||||
mCursorWasVisibleBeforeSuggestions = mCursorVisible;
|
||||
|
||||
Reference in New Issue
Block a user