commit | 78a1bcea08938977493ced70bcf0d0244c9a8d0b | [log] [tgz] |
---|---|---|
author | Jim Kaye <jameskaye@google.com> | Thu Apr 16 15:33:45 2020 -0700 |
committer | Jim Kaye <jameskaye@google.com> | Fri Apr 17 11:10:00 2020 -0700 |
tree | b6f11b1e6af2385bcb7538ddca93e2f8f5da29b8 | |
parent | 181913de0170496ccada749c6db8fbc8f3cbcc3a [diff] |
Allow power transition from "Wait for Finish" to "On" Some OEMs want to bring the system to the point of shutting down, but hold it there for a few minutes. They may then either shut down or bring the system back up. Previously, once all the preparations for shutting down were complete, the only permitted power transition was to shut down. This CL allows the shut down operation to be canceled even when everything is all set to power down. Fixes: 153755740 Test: Created CarPowerManagementTest.testCancelShutdownFromWaitForFinish Change-Id: I57745a9c8267968c48db8fe7de083c5d4af27341
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.