commit | c209a326c5790ed7f5406e2ecf61f073a4732699 | [log] [tgz] |
---|---|---|
author | Jahdiel Alvarez <jahdiel@google.com> | Tue Aug 31 23:52:43 2021 +0000 |
committer | Jahdiel Alvarez <jahdiel@google.com> | Fri Sep 10 20:02:32 2021 +0000 |
tree | d86f4e4d90c475265219e012734a73edf6d0c227 | |
parent | bb2cea3338052b62b2d40e8d237791bf75ac1cee [diff] |
Set forgiven bytes to default PerStateBytes object when resetting stats. Instead of setting forgiven bytes to null when resetting stats, set forgiven bytes to new PerStateBytes object. Test: atest CarWatchdogServiceUnitTest Bug: 198302302 Change-Id: I20d7072566f7e4ce2fddd16a042580484213d781 Merged-In: I20d7072566f7e4ce2fddd16a042580484213d781 (cherry picked from commit db455ec6dfd50bbe73b8ec00569534a26f62bd9f)
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.