Thursday, June 26, 2014

Bug - Software and Hardware keyboard in wrong state

Root cause :
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)

Call Stack for WMS and IMS
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