Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Remove showing spacebar text by regression. (#3088)
Browse files Browse the repository at this point in the history
  • Loading branch information
daoshengmu authored Apr 1, 2020
1 parent 618045d commit de88941
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1086,10 +1086,8 @@ private void updateCandidates() {

private void updateSpecialKeyLabels() {
String enterText = mCurrentKeyboard.getEnterKeyText(mEditorInfo.imeOptions, mComposingText);
String spaceText = mCurrentKeyboard.getSpaceKeyText(mComposingText);
String modeChangeText = mCurrentKeyboard.getModeChangeKeyText();
boolean changed = mCurrentKeyboard.getAlphabeticKeyboard().setEnterKeyLabel(enterText);
changed |= mCurrentKeyboard.getAlphabeticKeyboard().setSpaceKeyLabel(spaceText);
CustomKeyboard symbolsKeyboard = getSymbolsKeyboard();
changed |= symbolsKeyboard.setModeChangeKeyLabel(modeChangeText);
symbolsKeyboard.setEnterKeyLabel(enterText);
Expand Down

0 comments on commit de88941

Please sign in to comment.