commit | ada36ef6888884cadad1f78064037e25b70eca36 | [log] [tgz] |
---|---|---|
author | Howard Hao <hhhao@google.com> | Wed Aug 25 11:45:42 2021 -0700 |
committer | Howard Hao <hhhao@google.com> | Wed Aug 25 16:53:39 2021 -0700 |
tree | 5453033eb4f5c19cd5674e20c4fc060a3d1524fe | |
parent | eeedd474653d97e0186374a0d26569a0cceb6ac3 [diff] |
Fix passing runnable using 'this::' for SystemMonitor. - assigning the runnable to a private variable first to ensure when removing it points to the same reference. Bug: 197762254 Test: atest CarServiceUnitTest:SystemMonitorUnitTest Change-Id: I941cef3f4a97ba95dd37677139b9350b23dab40e
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.