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

Commit 4147abcd authored by Fabrice Di Meglio's avatar Fabrice Di Meglio Committed by Android (Google) Code Review
Browse files

Merge "Fix bug #5252977 TextView selection handles appearing in a weird state"

parents cb58757d 03e4d645
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -9555,6 +9555,8 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            public void dismiss() {
                super.dismiss();

                TextView.this.getPositionListener().removeSubscriber(SuggestionsPopupWindow.this);

                if ((mText instanceof Editable) && mSuggestionRangeSpan != null) {
                    ((Editable) mText).removeSpan(mSuggestionRangeSpan);
                }