commit | 16ac9303b9ec896fb7d42fc75d3a9bf7143b6095 | [log] [tgz] |
---|---|---|
author | Michael Keller <michaelkeller@google.com> | Fri Feb 14 10:44:51 2020 -0800 |
committer | Michael Keller <michaelkeller@google.com> | Fri Feb 14 10:44:55 2020 -0800 |
tree | 43fb7bcb296ae37024a2af3432b8afbda4f1f64d | |
parent | e588716f743e2d744b5f8f3e2e729356912e01a7 [diff] |
OccupantAwarenessSystem: Fixes null reference bug in toString(). Adds check for possibly null object types in toString() implementations. Provides better formating for toString() and logging methods and corrects a typo. This change only affects logging messages and toString(). No other functional changes are introduced. Bug: 142383440 Test: OccupantAwarenessSystemServiceTest Change-Id: Iaf7ad22f23db658b6fdacf176a1a673456a954ca
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.