commit | 608d78c578b45cb002556f8d0f52b30bb22c0180 | [log] [tgz] |
---|---|---|
author | Kai <kwangsudo@google.com> | Wed Jun 09 16:58:58 2021 -0700 |
committer | Kai <kwangsudo@google.com> | Wed Jun 09 17:01:36 2021 -0700 |
tree | fbcc7d96194a6e6af8640a494ed37c024f31b8af | |
parent | 7421ca1cfb85f39ab709ad3903b3d01fbfcc2323 [diff] |
Returns default value in CarInfoManager Catch the exception and returns default value when the sensor is not available in CarInfoManager Bug: 184436663 Bug: 188887945 Test: atest CarInfoManager Change-Id: I8f43c8881dac9bdef6ac4ea82021bc13be574277
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.