[IL96] Inline a method

Bug: 8636060
Change-Id: I517591c484dce74788398cf4a4db9a074d91a6c0
This commit is contained in:
Jean Chalard 2014-01-24 21:32:50 +09:00
parent 90916143b6
commit 86210c7dc7

View file

@ -1033,10 +1033,6 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
} }
} }
private void setSuggestionStripShown(final boolean shown) {
setSuggestionStripShownInternal(shown, /* needsInputViewShown */true);
}
private int getAdjustedBackingViewHeight() { private int getAdjustedBackingViewHeight() {
final int currentHeight = mKeyPreviewBackingView.getHeight(); final int currentHeight = mKeyPreviewBackingView.getHeight();
if (currentHeight > 0) { if (currentHeight > 0) {
@ -1347,7 +1343,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
// the practice. // the practice.
mInputLogic.mConnection.setComposingText(textWithUnderline, 1); mInputLogic.mConnection.setComposingText(textWithUnderline, 1);
} }
setSuggestionStripShown(shouldShow); setSuggestionStripShownInternal(shouldShow, true /* needsInputViewShown */);
} }
// TODO[IL]: Move this out of LatinIME. // TODO[IL]: Move this out of LatinIME.