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

Commit 69db986c authored by satok's avatar satok Committed by Android Git Automerger
Browse files

am e6fee18d: Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when...

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

* commit 'e6fee18d':
  Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.
parents eecd9ac0 e6fee18d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -7720,8 +7720,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;