Merge "Fix a behavior change in "Show software keyboard"." into nyc-dev am: 68c1e1935d
am: 8e0e5e8a88
* commit '8e0e5e8a8884d6536a3ee7511411e7d78d8ed265':
Fix a behavior change in "Show software keyboard".
Change-Id: I86f131edcaa8ec069848830641a546b80e755f65
This commit is contained in:
@@ -1536,8 +1536,8 @@ public class InputMethodService extends AbstractInputMethodService {
|
||||
// mode at this point.
|
||||
return false;
|
||||
}
|
||||
Configuration config = getResources().getConfiguration();
|
||||
if (config.keyboard != Configuration.KEYBOARD_NOKEYS) {
|
||||
if (!mSettingsObserver.shouldShowImeWithHardKeyboard() &&
|
||||
getResources().getConfiguration().keyboard != Configuration.KEYBOARD_NOKEYS) {
|
||||
// And if the device has a hard keyboard, even if it is
|
||||
// currently hidden, don't show the input method implicitly.
|
||||
// These kinds of devices don't need it that much.
|
||||
|
||||
Reference in New Issue
Block a user