Fix the logic for mouse event handling.
The code checked if the tool type for the event is TOOL_TYPE_MOUSE. However this is not true in some cases, touchpads are using TOOL_TYPE_FINGER. InputDevice.getSources() are better in this situation. Bug: 22304981 Change-Id: Ic2ad1a472a422682617dbe25f9d81a5e5d2c020a
Loading
Please register or sign in to comment