frameworks/base/services/java/com/android/server/wm/WindowManagerService.java
public class WindowManagerService extends IWindowManager.Stub{
boolean hardKeyboardAvailable = false; //config.keyboard != Configuration.KEYBOARD_NOKEYS;
将hardKeyboardAvailable 改为false,系统设置将不弹出物理键盘选项,默认是软键盘