commit | 9cbd9b9d06015682e29f4afcbe5d2b77eaf4f280 | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Mon Jul 26 14:36:40 2021 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Wed Jul 28 11:19:56 2021 -0700 |
tree | a2046c3966263ef4082466ba35092fa64cff3992 | |
parent | dc4f4507be406087ca220bb4d4bd8e37532bea20 [diff] |
Add removing subscriber from CarTelemetrydPublisher - The publisher can throw IllegalStateException, because it may fail to connect to the service at any time. Thus, add the exception to abstract publisher too, it can be handled on DataBroker side if needed. - Add tests Test: atest CarServiceUnitTest:CarTelemetrydPublisherTest Bug: 189142577 Change-Id: Ib6d7302030b718abb2483abeb205e7ddcb8b7b67
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.