From 5478cc5d8b02a0b4bade54bf497e6ebf2a6ee5c2 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Tue, 9 Nov 2021 15:08:26 -0800 Subject: [PATCH] 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 dae47962355ebca330f8fe57e3aa48f4d20a573a Bug: 205738567 Test: presubmit Change-Id: I9ad0770ffb3fa8ffcdda09fbace6d654d8c4ee1e --- core/java/android/view/inputmethod/TextSnapshot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/view/inputmethod/TextSnapshot.java b/core/java/android/view/inputmethod/TextSnapshot.java index 33ce282780e5a..977e6f49e3018 100644 --- a/core/java/android/view/inputmethod/TextSnapshot.java +++ b/core/java/android/view/inputmethod/TextSnapshot.java @@ -129,8 +129,8 @@ public final class TextSnapshot { *

Values may be any combination of the following values:

* * *

You should generally just take a non-zero value to mean "start out in caps mode" though.