diff options
author | 2010-10-15 01:23:20 +0900 | |
---|---|---|
committer | 2010-10-15 10:00:06 +0900 | |
commit | 0661496ee0988391f9214616ef091625bcc7f8cb (patch) | |
tree | 40a6242ae1fcbc0478f3e0928cbbaaf7b491789e /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | |
parent | 179fa2c03e749df736f43e0838200bec52b4808a (diff) | |
download | latinime-0661496ee0988391f9214616ef091625bcc7f8cb.tar.gz latinime-0661496ee0988391f9214616ef091625bcc7f8cb.tar.xz latinime-0661496ee0988391f9214616ef091625bcc7f8cb.zip |
Follow up change of I8b38e280 (DO NOT MERGE)
This is follow up change of I8b38e2803eb32469653484701882af35108eb69a
This change fixes the following when "Voice input on symbols keyboard"
option is selected.
- LatinIME.onCreateInputView fails to show "123mic" icon.
- Email and URL variation keyboard fails to show "123mic" icon.
Bug: 3084022
Change-Id: Ia3929bb0cc5c5c8651af816718c21d1f20e8f016
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyboardSwitcher.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/KeyboardSwitcher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java index 86dbf1f60..a7b695eb3 100644 --- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java +++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java @@ -260,7 +260,8 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha mMode = mode; mImeOptions = imeOptions; if (enableVoice != mHasVoice) { - setVoiceMode(mHasVoice, mVoiceOnPrimary); + // TODO clean up this unnecessary recursive call. + setVoiceMode(enableVoice, mVoiceOnPrimary); } mIsSymbols = isSymbols; |