diff options
author | satok <satok@google.com> | 2010-12-20 23:48:46 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2010-12-21 16:14:15 +0900 |
commit | 16331c8a1d33defccc5cbb18694def79196c921b (patch) | |
tree | 818a554358bc8d2e7c1cb3dd6ec73542e700daec /core/java/android/view/inputmethod | |
parent | 96abab264e4d96071dc169b4828e950c1ae59681 (diff) | |
download | frameworks_base-16331c8a1d33defccc5cbb18694def79196c921b.zip frameworks_base-16331c8a1d33defccc5cbb18694def79196c921b.tar.gz frameworks_base-16331c8a1d33defccc5cbb18694def79196c921b.tar.bz2 |
Add a parameter to InputMethodManagerService.getEnabledSubtype for allowing to select subtypes implicitly if no subtype is enabled.
Bug: 3142286
Change-Id: I92d019d0648c552e6d7695c3530aa81ae054d702
Diffstat (limited to 'core/java/android/view/inputmethod')
-rw-r--r-- | core/java/android/view/inputmethod/InputMethodManager.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/java/android/view/inputmethod/InputMethodManager.java b/core/java/android/view/inputmethod/InputMethodManager.java index 867bb83..d310237 100644 --- a/core/java/android/view/inputmethod/InputMethodManager.java +++ b/core/java/android/view/inputmethod/InputMethodManager.java @@ -506,9 +506,10 @@ public final class InputMethodManager { } } - public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi) { + public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi, + boolean allowsImplicitlySelectedSubtypes) { try { - return mService.getEnabledInputMethodSubtypeList(imi); + return mService.getEnabledInputMethodSubtypeList(imi, allowsImplicitlySelectedSubtypes); } catch (RemoteException e) { throw new RuntimeException(e); } |