commit | 0ea02b5e46769f6c51dc564af20e73e727115b5a | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Mon Jul 12 19:54:49 2021 -0700 |
committer | Keun-young Park <keunyoung@google.com> | Tue Jul 13 22:38:20 2021 +0000 |
tree | ca2f53d727278c2a5ef4a8cf6f34e6641fc438ec | |
parent | cd6f09675119e156a4ed42e3a61fc272f2a894f1 [diff] |
Post VehicleHal event injection to the right HandlerThread - Dispatching directly from the calling thread brings race condition which the dispatching code is not designed for. Bug: 190532330 Test: inject hal event with adb shell, run CarServiceTest Change-Id: I80c50d2d1fbd3d3e1513cb53ec5c833427ed6510 Merged-In: I80c50d2d1fbd3d3e1513cb53ec5c833427ed6510 (cherry picked from commit becf2aa40e29f138986f42f74da5c9a9698e63ad)
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.