am e6fee18d: Merge "Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it\'s removed." into ics-mr0
* commit 'e6fee18d16a86c266afef48f7705268435a99111': Invalidate SuggestionSpan with FLAG_AUTO_CORRECTION when it's removed.
This commit is contained in:
@@ -7720,8 +7720,9 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (what instanceof UpdateAppearance ||
|
if (what instanceof UpdateAppearance || what instanceof ParagraphStyle
|
||||||
what instanceof ParagraphStyle) {
|
|| (what instanceof SuggestionSpan && (((SuggestionSpan)what).getFlags()
|
||||||
|
& SuggestionSpan.FLAG_AUTO_CORRECTION) != 0)) {
|
||||||
if (ims == null || ims.mBatchEditNesting == 0) {
|
if (ims == null || ims.mBatchEditNesting == 0) {
|
||||||
invalidate();
|
invalidate();
|
||||||
mHighlightPathBogus = true;
|
mHighlightPathBogus = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user