summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Sandro Meier <sandromeier@google.com> 2022-09-17 10:05:07 +0000
committer Sandro Meier <sandromeier@google.com> 2022-10-19 16:31:59 +0000
commitb03a7b7d075d10ffd21eab2960e03237cabbda32 (patch)
tree2341404a57a0c0c51c48085884cb56ee243478c6 /libs/input/PointerController.cpp
parentcd4d015a09d4d887b8b76d1ed3549bb9e44a133d (diff)
Add id to InputDeviceDesc of VirtualInputDevice
Virtual input devices did not store the deviceId as this was not needed. This change stores the deviceId during the device initialization (deviceId is given to InputDeviceListener callback, which is used to wait for a virtual device to be initialized and configured) The deviceId is needed to restrict an input device to a display group. Bug: 244516415 Test: atest android.hardware.input.cts.tests.VirtualKeyboardTest Change-Id: I982191d543556e2728e41d6da01ab1a631e50e1a
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions