Merge "Not to make a thread at changing view from keyboard to voice"
This commit is contained in:
commit
290b4a8ff9
1 changed files with 14 additions and 19 deletions
|
@ -1473,9 +1473,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.");
|
||||||
}
|
}
|
||||||
|
@ -1492,8 +1489,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