summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Harry Cutts <hcutts@google.com> 2023-11-14 16:56:14 +0000
committer Harry Cutts <hcutts@google.com> 2023-11-16 15:27:55 +0000
commit766ff01ffc0ff3356156fa3fb27612676de581a3 (patch)
tree24ab0e94ec00a80e8024cc871eb6b54b966c786e /api/api.go
parent70bb706e1c70ed45aebef5d0e8288399e3eca9b3 (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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions