aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2010-11-24 17:32:23 +0900
committersatok <satok@google.com>2010-11-24 20:53:57 +0900
commit1fb28137f43ae083c773c32440981ac61e83fa5d (patch)
tree66b8edefd96129e56f340ea3b360766fbdb2c2b0 /java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
parent2c60d6e28ecf7d6f7e97a504ebfa97e286d931ed (diff)
downloadlatinime-1fb28137f43ae083c773c32440981ac61e83fa5d.tar.gz
latinime-1fb28137f43ae083c773c32440981ac61e83fa5d.tar.xz
latinime-1fb28137f43ae083c773c32440981ac61e83fa5d.zip
Fix a bug at showing warning dialog at the first time when IME is trigerred in voice mode
bug: 3226268 Change-Id: Ife7c752ad309ef796d9b7cc32517f00c2bb2af34
Diffstat (limited to 'java/src/com/android/inputmethod/latin/KeyboardSwitcher.java')
-rw-r--r--java/src/com/android/inputmethod/latin/KeyboardSwitcher.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
index b5dd3eed4..5db6e63d0 100644
--- a/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
+++ b/java/src/com/android/inputmethod/latin/KeyboardSwitcher.java
@@ -700,6 +700,7 @@ public class KeyboardSwitcher implements SharedPreferences.OnSharedPreferenceCha
mInputView.setOnKeyboardActionListener(mInputMethodService);
mLayoutId = newLayout;
}
+ // TODO: Not to post if this function was called from loadKeyboardView
mInputMethodService.mHandler.post(new Runnable() {
public void run() {
if (mInputView != null) {