commit | 3b9ed2069ec63fcde9f52c73683de7a3f6248bdd | [log] [tgz] |
---|---|---|
author | tadvana <tadvana@google.com> | Wed Jul 17 19:21:28 2019 -0700 |
committer | tadvana <tadvana@google.com> | Mon Jul 29 13:40:52 2019 -0700 |
tree | dde68a01a51d88f808eda04ded6420a4e62744e9 | |
parent | 06d647c68c6e6b9a4d5ee71c1dd757be9d7fbe39 [diff] |
Adds a FakeAppFocusService to be used by the CarAppFocusManager in tests This change adds a FakeAppFocusService which can be used by the FakeCar API when creating the CarAppFocusManager. This allows unit tests for Android apps to use a (relatively) real CarAppFocusManager. Test: make -jN RunCarLibTests Change-Id: Id7aeac302f6631f0578034d3479457d893eb214a
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.