Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dfd1beda authored by Keisuke Kuroyanagi's avatar Keisuke Kuroyanagi Committed by android-build-merger
Browse files

Merge "Supress SuggestionPopup for original field." into nyc-dev

am: c1cd17f9

* commit 'c1cd17f9':
  Supress SuggestionPopup for original field.
parents c989b5b1 c1cd17f9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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;