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: Ie4f57215880ff06264a7c4f80c505cf4acc6bca5
Loading
Please register or sign in to comment