Merge "Remove suggestion span underline on device rotation"

This commit is contained in:
Gilles Debunne
2011-06-02 09:45:32 -07:00
committed by Android (Google) Code Review

View File

@@ -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();