commit | f713469cec05631308147c1c1e4332a647edc181 | [log] [tgz] |
---|---|---|
author | Keun young Park <keunyoung@google.com> | Tue Mar 10 15:41:03 2020 -0700 |
committer | Keun young Park <keunyoung@google.com> | Tue Mar 10 17:50:25 2020 -0700 |
tree | 3462ce9f1a9e4fe81ce520fc96d40cf1dd250ff6 | |
parent | c825a35d5c06c1e1cf02274277da6ec8113b3f27 [diff] |
Ensure that mandatory features are always enabled - There was a bug in handling corrupt file and it can lead into missing mandatory features. - Ensure that mandatory features are always there and force default config loading if mandatory features are not there. Bug: 151150439 Test: $ adb root $ adb shell stop $ adb shell su system 'echo "aaa" > /data/system/car/car_feature_config.txt' $ adb shell start $ adb shell dumpsys car_service | grep -A10 "EnabledFeatures" grep should show all mandatory features still there. Change-Id: Ib45a0cceb4714e8595f61ade2570ea1d6a6252aa
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.