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