File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
core/java/android/view/textservice Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -24782,6 +24782,7 @@ package android.view.textservice {
2478224782 method public void setCookieAndSequence(int, int);
2478324783 method public void writeToParcel(android.os.Parcel, int);
2478424784 field public static final android.os.Parcelable.Creator CREATOR;
24785+ field public static final int RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS = 4; // 0x4
2478524786 field public static final int RESULT_ATTR_IN_THE_DICTIONARY = 1; // 0x1
2478624787 field public static final int RESULT_ATTR_LOOKS_LIKE_TYPO = 2; // 0x2
2478724788 }
Original file line number Diff line number Diff line change @@ -39,6 +39,12 @@ public final class SuggestionsInfo implements Parcelable {
3939 * word looks like a typo.
4040 */
4141 public static final int RESULT_ATTR_LOOKS_LIKE_TYPO = 0x0002 ;
42+ /**
43+ * Flag of the attributes of the suggestions that can be obtained by
44+ * {@link #getSuggestionsAttributes}: this tells that the text service thinks
45+ * the result suggestions include highly recommended ones.
46+ */
47+ public static final int RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS = 0x0004 ;
4248 private final int mSuggestionsAttributes ;
4349 private final String [] mSuggestions ;
4450 private final boolean mSuggestionsAvailable ;
You can’t perform that action at this time.
0 commit comments