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

Commit e6fee18d authored by satok's avatar satok Committed by Android (Google) Code Review
Browse files

Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed." into ics-mr0

parents 83e160d3 75e126f2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -7683,8 +7683,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
            }
        }
        
        if (what instanceof UpdateAppearance ||
            what instanceof ParagraphStyle) {
        if (what instanceof UpdateAppearance || what instanceof ParagraphStyle
                || (what instanceof SuggestionSpan && (((SuggestionSpan)what).getFlags()
                        & SuggestionSpan.FLAG_AUTO_CORRECTION) != 0)) {
            if (ims == null || ims.mBatchEditNesting == 0) {
                invalidate();
                mHighlightPathBogus = true;