commit | 0cd437e551c7b9116a257c1a9e4e11955c10d8d9 | [log] [tgz] |
---|---|---|
author | Mark Salyzyn <salyzyn@google.com> | Fri May 18 15:25:15 2018 -0700 |
committer | Mark Salyzyn <salyzyn@google.com> | Tue May 29 15:18:38 2018 -0700 |
tree | 02b9690f42bb6a8782f54686843b44a6a8af0aee | |
parent | 75c223f5c54081a2fe54d1b3c27639ac4ba7f251 [diff] |
init: switch out keychord id with std::vector match of chords Drop all references to keychord_id and id and instead use keycodes_ as the id. The keycodes are a std::vector<int> with an unique sorted-order emplacement method added in the parser. Solves the academic issue with duplicate keychords and trigger all services that match rather than first match only. Test: init_tests Bug: 64114943 Change-Id: I5582779d81458fda393004c551c0d3c03d9471e0