OSDN Git Service

Remove spell log that exposes typed text in the logs
authorGilles Debunne <debunne@google.com>
Thu, 25 Aug 2011 18:33:06 +0000 (11:33 -0700)
committerGilles Debunne <debunne@google.com>
Thu, 25 Aug 2011 18:33:06 +0000 (11:33 -0700)
Change-Id: I88a31f7e1fb93f0550d1cd5eb86afacbc19afd29

core/java/android/widget/TextView.java

index 683a984..2b94417 100644 (file)
@@ -7634,12 +7634,6 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
                 getSpellChecker().addSpellCheckSpan((SpellCheckSpan) what);
             }
         }
-
-        if (what instanceof SuggestionSpan) {
-            if (newStart < 0) {
-                Log.d("spellcheck", "REMOVE suggspan " + mText.subSequence(oldStart, oldEnd));
-            }
-        }
     }
 
     /**