commit | 0864c4662d24bea4653f603a4e1151b415979d0f | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Mon Oct 11 15:10:53 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Wed Oct 13 10:03:36 2021 -0700 |
tree | 1b774e5f1324d34cd5c5b0d270758ce6b0ee9146 | |
parent | f3aca272b61360dba6655195ab231e6e553fce29 [diff] |
Cancel system power policy in carpowerpolicyd - When the previous policy was a system power policy and it was cancelled at CPMS, the cancellation was not propagted to carpowerpolicyd. - This causes ON policy not to be applied when a device wakes up from suspend. Bug: 202770471 Test: Native clients should be notified of power policy change when the device wakes up from suspend Change-Id: Ia80d3cb3acd769d0f41b8390ef4cf997df414c21
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.