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

Skip to content
Commit 990ff7ba authored by Vaibhav Devmurari's avatar Vaibhav Devmurari
Browse files

Don't crash on invalid HID country code

Apple magic keyboard sends invalid hid country code 166 which is
not supported according to HID standards. Instead of throwing
fatal exception, assume any country code value out of the
standard range as invalid.

Test: manual testing. TODO: implement sysfs based test cases
Bug: 262703228
Change-Id: I7821473c31b08d23ebf91385fbe12dc9f758a472
parent 6b65c0c7
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