commit | a44d4629799df0ef786dd3a23e97f5e7e0ce673f | [log] [tgz] |
---|---|---|
author | Danny Epstein <depstein@google.com> | Fri Oct 29 20:34:20 2021 -0700 |
committer | Danny Epstein <depstein@google.com> | Tue Nov 02 13:43:20 2021 -0700 |
tree | 0a9bdc01e1683ecb9c83b8391f216fdadd4ad041 | |
parent | 758bf39b89f692706c5083f135d177b59e5294c7 [diff] |
Support capturing back key events Make CarInputManager capture KEYCODE_BACK as part of INPUT_TYPE_NAVIGATE_KEYS. Test: Manual - see comment #20 in the bug. Use `adb shell cmd car_service inject-key 4` on emulator Use button 4 on CAN rotary controller Bug: 183424213 Merged-In: Iac4a5acd795d5185d0d8e17e5e416adff943f383 Change-Id: I109183d84d01d68cab30ef124803009a69f37db0
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.