commit | 1385725e0995052ad96b482a60e9ffd5b663ddb5 | [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 | 06aeb41c16cb26e0f53cb964e657fe528437bb4d [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