Merge "Start full screen mode on first tap when HW keyborad is connected." into nyc-dev am: c29921f

am: b31cd18

* commit 'b31cd18ea6aed977f731b7abfcd977631849465c':
  Start full screen mode on first tap when HW keyborad is connected.
This commit is contained in:
Keisuke Kuroyanagi 2016-03-16 06:42:46 +00:00 committed by android-build-merger
commit 87e1990546

View file

@ -716,7 +716,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
private boolean isImeSuppressedByHardwareKeyboard() { private boolean isImeSuppressedByHardwareKeyboard() {
final KeyboardSwitcher switcher = KeyboardSwitcher.getInstance(); final KeyboardSwitcher switcher = KeyboardSwitcher.getInstance();
return switcher.isImeSuppressedByHardwareKeyboard( return !onEvaluateInputViewShown() && switcher.isImeSuppressedByHardwareKeyboard(
mSettings.getCurrent(), switcher.getKeyboardSwitchState()); mSettings.getCurrent(), switcher.getKeyboardSwitchState());
} }