Skip to content
Commit 6c7940e4 authored by Sandro Meier's avatar Sandro Meier
Browse files

Fix virtual input device creation timeouts

This change fixes a bug where a too long device name caused a timeout
during the creation of the virtual input device. Names longer than 80
bytes where truncated.
It also adds a new check that device names must be unique. This solves
multiple problems:
- Debugging is easier as device names are logged and otherwise
  indistinguishable
- If multiple devices with the same name are created and the creation of
  one of them fails it was not possible to identify which one

Bug: 263519472
Bug: 266049753
Bug: 266049980
Test: atest FrameworksServicesTests:InputControllerTest
Test: atest CtsHardwareTestCases
Change-Id: I040f859253f4f544e23cf01a88afb9a2bac26b9f
parent d2b9f813
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment