Fix API doc of TextSnapshot#getCursorCapsMode()

This is a follow up CL to my previous CL [1], which introduced
android.view.inputmethod.TextSnapshot.

There were typos in TextSnapshot#getCursorCapsMode() API document.
This CL just fixes them.

 [1]: I8e00dacce5ca915e276fdd8288ffc9167eb01a26
      dae4796235

Bug: 205738567
Test: presubmit
Change-Id: I9ad0770ffb3fa8ffcdda09fbace6d654d8c4ee1e
This commit is contained in:
Yohei Yukawa
2021-11-09 15:08:26 -08:00
parent 954ecf984a
commit 5478cc5d8b

View File

@@ -129,8 +129,8 @@ public final class TextSnapshot {
* <p>Values may be any combination of the following values:</p>
* <ul>
* <li>{@link android.text.TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_CHARACTERS}</li>
* <li>{@link android.text.TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_WORDS}</li>
* <li>{@link android.text.TextUtils#CAP_MODE_CHARACTERS TextUtils.CAP_MODE_SENTENCES}</li>
* <li>{@link android.text.TextUtils#CAP_MODE_WORDS TextUtils.CAP_MODE_WORDS}</li>
* <li>{@link android.text.TextUtils#CAP_MODE_SENTENCES TextUtils.CAP_MODE_SENTENCES}</li>
* </ul>
*
* <p>You should generally just take a non-zero value to mean "start out in caps mode" though.