Not to make a thread at changing view from keyboard to voice
Change-Id: If3f89b3e9774c566a1bb2119b161c42b715e6709
This commit is contained in:
parent
58e01050e1
commit
060efb6d82
1 changed files with 14 additions and 19 deletions
|
@ -1459,9 +1459,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
}
|
}
|
||||||
|
|
||||||
public void switchToKeyboardView() {
|
public void switchToKeyboardView() {
|
||||||
mHandler.post(new Runnable() {
|
|
||||||
@Override
|
|
||||||
public void run() {
|
|
||||||
if (DEBUG) {
|
if (DEBUG) {
|
||||||
Log.d(TAG, "Switch to keyboard view.");
|
Log.d(TAG, "Switch to keyboard view.");
|
||||||
}
|
}
|
||||||
|
@ -1478,8 +1475,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
|
||||||
updateInputViewShown();
|
updateInputViewShown();
|
||||||
mHandler.postUpdateSuggestions();
|
mHandler.postUpdateSuggestions();
|
||||||
}
|
}
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
public void clearSuggestions() {
|
public void clearSuggestions() {
|
||||||
setSuggestions(SuggestedWords.EMPTY);
|
setSuggestions(SuggestedWords.EMPTY);
|
||||||
|
|
Loading…
Reference in a new issue