commit | d3655bf1b12b27962e1661a723d069674411122c | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Tue Apr 20 10:37:25 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Thu May 06 09:17:10 2021 -0700 |
tree | 95a44b2b95e91004a352c0ba8827071f1cbe69e1 | |
parent | 00ea235ad10a9ee88d7ec06c6b25a37b64950f76 [diff] |
Power policy off overrides user setting - When power policy turns off a component, a component is actully turned off and a user cannot modify its power state at Setting. - When power policy turns on a component, it should consider if the component was powered off by policy or user. If it was a policy, then the actual power is turned on. If it was a user, then the actual power state remains the same. Bug: 185641181 Test: manual test Change-Id: I3aae67c695295871373952436857850b3267b5b9
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.