Merge "Supress SuggestionPopup for original field." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c1cd17f918
@@ -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