Input device have to report INPUT_DEVICE_CLASS_ALPHAKEY So that WMS will check it when computeScreenConfigurationLocked
Notes :
Input Devices update its flag here.
EventHub::openDeviceLocked (EventHug.cpp)
computeScreenConfigurationLocked (WindowManagerService.java)
handleMessage (WindowManagerService.java)
notifyHardKeyboardStatusChange (WindowManagerService.java) onHardKeyboardStatusChange
onHardKeyboardStatusChange (InputMethodManagerService.java) MSG_HARD_KEYBOARD_SWITCH_CHANGED
handleMessage (InputMethodManagerService.java)
handleHardKeyboardStatusChange (InputMethodManagerService.java)
No comments:
Post a Comment