Skip to content

Commit 19636dc

Browse files
Gilles DebunneAndroid (Google) Code Review
authored andcommitted
Merge "Do not spell check the foreground ExtractEditText." into ics-mr1
2 parents 19a06fe + 770f0fa commit 19636dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/widget/TextView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7802,7 +7802,7 @@ void spanChange(Spanned buf, Object what, int oldStart, int newStart, int oldEnd
78027802
* Create new SpellCheckSpans on the modified region.
78037803
*/
78047804
private void updateSpellCheckSpans(int start, int end, boolean createSpellChecker) {
7805-
if (isTextEditable() && isSuggestionsEnabled()) {
7805+
if (isTextEditable() && isSuggestionsEnabled() && !(this instanceof ExtractEditText)) {
78067806
if (mSpellChecker == null && createSpellChecker) {
78077807
mSpellChecker = new SpellChecker(this);
78087808
}

0 commit comments

Comments
 (0)