From 71803994a3b83af7464a67c62fce47c3bf64e168 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Thu, 14 Sep 2017 16:35:06 -0700 Subject: [PATCH] Fix conflicting JavaDoc of TYPE_TEXT_FLAG_NO_SUGGESTIONS TYPE_TEXT_FLAG_NO_SUGGESTIONS is just a hint and does not mean IME should never show a UI to display suggestions. This CL makes that point clear in JavaDoc. Test: checkbuild Bug: 35875399 Bug: 38139781 Bug: 38184682 Fixes: 65693181 Change-Id: Id0c3b6bc05689a5f1c8b52637664f59d45850a60 --- core/java/android/text/InputType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/text/InputType.java b/core/java/android/text/InputType.java index 8967b709a04f4..f38482e6fdd1e 100644 --- a/core/java/android/text/InputType.java +++ b/core/java/android/text/InputType.java @@ -182,9 +182,9 @@ public interface InputType { * want the IME to correct typos. * Note the contrast with {@link #TYPE_TEXT_FLAG_AUTO_CORRECT} and * {@link #TYPE_TEXT_FLAG_AUTO_COMPLETE}: - * {@code TYPE_TEXT_FLAG_NO_SUGGESTIONS} means the IME should never + * {@code TYPE_TEXT_FLAG_NO_SUGGESTIONS} means the IME does not need to * show an interface to display suggestions. Most IMEs will also take this to - * mean they should not try to auto-correct what the user is typing. + * mean they do not need to try to auto-correct what the user is typing. */ public static final int TYPE_TEXT_FLAG_NO_SUGGESTIONS = 0x00080000;