commit | d48f7079f5f48303cda22d208293815fda4823ca | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Thu Feb 25 18:21:06 2021 -0800 |
committer | Eric Jeong <ericjeong@google.com> | Wed Mar 03 18:00:31 2021 -0800 |
tree | 5dbf8f405853c032ec3f9c82bd8fd430357dc264 | |
parent | 81afa8a1c1ca66aa35f086a1e888a70dfed818e3 [diff] |
Revise CarPowerManager public APIs - CarPowerPolicyChangeListener is renamed to CarPowerPolicyListener. - Listener parameter of addPowerPolicyListener is moved to the last one. - Public fields in CarPowerPolicy are made private and accessed through getters. - setPowerPolicyGroup is added to CarPowerManager. Bug: 181258433 Test: atest CarServiceTest CarServiceUnitTest CtsCarServiceTest CTS-Coverage-Bug: 178199337 Change-Id: I23144065d0a0cf8fbecae6f7428b4ae788488521
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.