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

Commit aa67eef1 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Remove suggestion span underline on device rotation

Change-Id: I2fca995f839eff84ee8c62289f6f110ebb8dd321
parent d0bbdb02
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2565,6 +2565,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                    sp.removeSpan(cw);
                }

                // hideControllers would do it, but it gets called after this method on rotation
                sp.removeSpan(mSuggestionRangeSpan);

                ss.text = sp;
            } else {
                ss.text = mText.toString();