am 19636dc4: Merge "Do not spell check the foreground ExtractEditText." into ics-mr1
* commit '19636dc4217078a3bfd4b3909b5ac05f8a9aca8f': Do not spell check the foreground ExtractEditText.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user