OSDN Git Service

Fix a typo in the API doc of TextView#setKeyListener()
authorYohei Yukawa <yukawa@google.com>
Wed, 9 May 2018 00:11:33 +0000 (17:11 -0700)
committerYohei Yukawa <yukawa@google.com>
Wed, 9 May 2018 00:11:33 +0000 (17:11 -0700)
Fix: 79436805
Test: make -j docs
      Then check out/target/common/docs/offline-sdk/reference/android/widget/TextView.html#setKeyListener(android.text.method.KeyListener)
Change-Id: I6c0d2a3af9434240c4e6e931185bc4f21b2e2b52

core/java/android/widget/TextView.java

index 7b9ecca..48775ad 100644 (file)
@@ -2284,7 +2284,7 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
      * Sets the key listener to be used with this TextView.  This can be null
      * to disallow user input.  Note that this method has significant and
      * subtle interactions with soft keyboards and other input method:
-     * see {@link KeyListener#getInputType() KeyListener.getContentType()}
+     * see {@link KeyListener#getInputType() KeyListener.getInputType()}
      * for important details.  Calling this method will replace the current
      * content type of the text view with the content type returned by the
      * key listener.