Fix InputDevice listener notification for merged controller.
Merged game controllers report unique device id combined from multiple input devices, when notifying device listener input manager will send a list of devices unique to each other. When an event hub device is added to a input device, the generation Id must be bumped to generate a device changed event for input device listener. Fixed the Sony game controller connection failure. Fixed the duplicate device listing in input service dump. Bug: 168338098 Test: atest inputflinger_tests Change-Id: I535357a8a7dfa5db93ab6b2762adb5c8b7aa7d8b
Loading
Please register or sign in to comment