Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8fc8c62 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Limit the length of virtual input device names in ComputerControlSession.

Input device names are limited to 80 bytes. This change ensures that the generated names for virtual dpad, keyboard, and touchscreen devices do not exceed this limit by truncating the package name portion of the prefix if necessary and using shorter suffixes.

Bug: 443074681
Test: presubmit
Flag: EXEMPT bugfix
Change-Id: I41cd73abb5847abe605f50512c0393f1082757c7
parent fa2986b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment