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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user