diff options
author | Yohei Yukawa <yukawa@google.com> | 2014-09-10 14:10:30 +0900 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2014-09-10 15:42:14 +0900 |
commit | 443c2bafd824779a75cd4b922b6839a8df9795e9 (patch) | |
tree | d19d285b70d435fa4f9f4631d13f12549f29812e /core/java/android/view | |
parent | f14fb34292a31b278501e325a7f89745a91abf5a (diff) | |
download | frameworks_base-443c2bafd824779a75cd4b922b6839a8df9795e9.zip frameworks_base-443c2bafd824779a75cd4b922b6839a8df9795e9.tar.gz frameworks_base-443c2bafd824779a75cd4b922b6839a8df9795e9.tar.bz2 |
Use public APIs to instantiate InputMethodSubtype
This is a groundwork for subsequent CLs that are
supposed to improve default input method selection
logics.
Historically we have had a @hide constructor of
InputMethodSubtype. However, this contructor is
a bit obsolete because we can not specify some
parameters that were added in recent platform
releases. We should use InputMethodSubtypeBuilder
instead.
BUG: 17347871
Change-Id: I72ad79682a58344e14380eb20e26edf98aee37cd
Diffstat (limited to 'core/java/android/view')
-rw-r--r-- | core/java/android/view/inputmethod/InputMethodSubtype.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodSubtype.java b/core/java/android/view/inputmethod/InputMethodSubtype.java index e7ada27..1671faa 100644 --- a/core/java/android/view/inputmethod/InputMethodSubtype.java +++ b/core/java/android/view/inputmethod/InputMethodSubtype.java @@ -211,18 +211,6 @@ public final class InputMethodSubtype implements Parcelable { } /** - * Constructor with no subtype ID specified, overridesImplicitlyEnabledSubtype not specified. - * Arguments for this constructor have the same meanings as - * {@link InputMethodSubtype#InputMethodSubtype(int, int, String, String, String, boolean, - * boolean, int)} except "id" and "overridesImplicitlyEnabledSubtype". - * @hide - */ - public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue, - boolean isAuxiliary) { - this(nameId, iconId, locale, mode, extraValue, isAuxiliary, false); - } - - /** * Constructor with no subtype ID specified. * @deprecated use {@link InputMethodSubtypeBuilder} instead. * Arguments for this constructor have the same meanings as |