Skip to content
Snippets Groups Projects
Commit 766ff01f authored by Harry Cutts's avatar Harry Cutts
Browse files

uinput: pass Commands to Event.Builder.setCommand

Parsing strings into enum values should be done by the parser, not the
builder, and this means that the evemu parser will be able to pass
properly typed values to setCommand rather than "magic" strings.

Bug: 302297266
Test: m uinput
Change-Id: Icac5764a66025412c87c326280d1895f3da78cac
parent 70bb706e
No related branches found
No related tags found
No related merge requests found
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