commit | 74007943350ce4673e5611f5f3b58d56d9e6a5fc | [log] [tgz] |
---|---|---|
author | Siarhei Vishniakou <svv@google.com> | Mon Jun 13 13:57:47 2022 -0700 |
committer | Siarhei Vishniakou <svv@google.com> | Thu Jun 16 15:49:22 2022 -0700 |
tree | 47269813c3470e0236cdee98c89dc28cfdb39754 | |
parent | 456acaae9592985f6424cd244c55de9982537f42 [diff] |
Use std::vector when sending keyCodes We are currently sending a raw pointer to keyCodes and a size. The size is also used for outFlags, but it's not well-documented anyways. Eventually, we may want to just return the flags instead of returning the boolean. For now, though, just change the incoming parameter to a vector to make it less errorprone. Bug: 228005926 Test: atest libinput_tests inputflinger_tests Change-Id: I6cc2f5d9b3b7b7c3c120a779ea4cfb4b06e27d1e