commit | 766ff01ffc0ff3356156fa3fb27612676de581a3 | [log] [tgz] |
---|---|---|
author | Harry Cutts <[email protected]> | Tue Nov 14 16:56:14 2023 +0000 |
committer | Harry Cutts <[email protected]> | Thu Nov 16 15:27:55 2023 +0000 |
tree | 24ab0e94ec00a80e8024cc871eb6b54b966c786e | |
parent | 70bb706e1c70ed45aebef5d0e8288399e3eca9b3 [diff] |
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