diff options
author | satok <satok@google.com> | 2010-11-04 21:17:48 +0900 |
---|---|---|
committer | satok <satok@google.com> | 2010-11-05 11:40:56 +0900 |
commit | 9ef0283bdcd9534cc09ae37eb2b78771b95247b5 (patch) | |
tree | 2819ed8e9c104af435d741a1778cf1e5f584e078 /core/java/android/inputmethodservice/InputMethodService.java | |
parent | 63cf0279d73937f38def42eeb0ef8278c926e448 (diff) | |
download | frameworks_base-9ef0283bdcd9534cc09ae37eb2b78771b95247b5.zip frameworks_base-9ef0283bdcd9534cc09ae37eb2b78771b95247b5.tar.gz frameworks_base-9ef0283bdcd9534cc09ae37eb2b78771b95247b5.tar.bz2 |
Change API for getting InputMethodSubtype's mode from resource id to String
Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
-rw-r--r-- | core/java/android/inputmethodservice/InputMethodService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/inputmethodservice/InputMethodService.java b/core/java/android/inputmethodservice/InputMethodService.java index a1f2b63..8409baa 100644 --- a/core/java/android/inputmethodservice/InputMethodService.java +++ b/core/java/android/inputmethodservice/InputMethodService.java @@ -2086,10 +2086,10 @@ public class InputMethodService extends AbstractInputMethodService { protected void onCurrentInputMethodSubtypeChanged(InputMethodSubtype newSubtype) { if (DEBUG) { int nameResId = newSubtype.getNameResId(); - int modeResId = newSubtype.getModeResId(); + String mode = newSubtype.getMode(); String output = "changeInputMethodSubtype:" + (nameResId == 0 ? "<none>" : getString(nameResId)) + "," - + (modeResId == 0 ? "<none>" : getString(modeResId)) + "," + + mode + "," + newSubtype.getLocale() + "," + newSubtype.getExtraValue(); Log.v(TAG, "--- " + output); } |