commit | bbd35f708354923dc40dd34c4340f95134c4d319 | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Tue Nov 26 08:08:24 2019 -0800 |
committer | Keun young Park <keunyoung@google.com> | Tue Nov 26 17:32:36 2019 -0800 |
tree | 1456c49888d681f7c9e6842e00165f1b294c1260 | |
parent | 2b9d47ab4174331b5e5b143eddb1d5830f5799f9 [diff] |
Fix car service crash while running CarServiceTest due to race - CarTestService: release and init should happen in the same thread. - BinderInterfaceContainer: should not remove while in iterator - ICarImpl: Do not remove local services in release - TimerInterface: make it re-usable for schedule / cancelAllActions cycles. Bug: 145172926 Test: atest CarServiceTest Change-Id: Ia28f787e4d9d4e43b0269dce56bd506acda6f7fc
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.