commit | 7b3e099b2000fd0472cabcab27bd221a8593a2ac | [log] [tgz] |
---|---|---|
author | Lakshman Annadorai <lakshmana@google.com> | Mon Jun 07 12:11:03 2021 -0700 |
committer | Lakshman Annadorai <lakshmana@google.com> | Wed Jun 09 14:45:08 2021 -0700 |
tree | 1e042ffe4a1bf1e1cb6eb16dad183b10ea5b7eae | |
parent | e882d296ff866421edb51cd95d5da6cc0c8ab2a5 [diff] |
Reformat repeating threshold tags in XML configs. Reformat repeating thresholds such that they are enclosed within an outer tag. System-wide thresholds are enclosed with systemWideThresholds tag and individual thresholds are enclosed with in alertThreshold tag. Package specific and app category thresholds are enclosed with in packageSpecificThresholds and appCategorySpecificThresholds tags, respectively and individual thresholds are enclosed with in perStateThreshold tag. Test: atest libwatchdog_test Bug: 186445673 Change-Id: I1ede554bc5d0b1478c669f25180ed03765c39b78
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.