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

Commit 2450b36a authored by Gilles Debunne's avatar Gilles Debunne Committed by Android Git Automerger
Browse files

am 19636dc4: Merge "Do not spell check the foreground ExtractEditText." into ics-mr1

* commit '19636dc4':
  Do not spell check the foreground ExtractEditText.
parents 0be53567 19636dc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7802,7 +7802,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
     * Create new SpellCheckSpans on the modified region.
     */
    private void updateSpellCheckSpans(int start, int end, boolean createSpellChecker) {
        if (isTextEditable() && isSuggestionsEnabled()) {
        if (isTextEditable() && isSuggestionsEnabled() && !(this instanceof ExtractEditText)) {
            if (mSpellChecker == null && createSpellChecker) {
                mSpellChecker = new SpellChecker(this);
            }