diff options
author | Tom Marshall <tdm.code@gmail.com> | 2017-09-08 19:48:46 +0000 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-04-04 20:08:37 +0300 |
commit | cfcafa14542565a96ca9ddc54a65a2e3d9cd28d0 (patch) | |
tree | f22bfa524961f7922ec48f83e82026b2d40b5d11 /recovery.cpp | |
parent | a08c6f189260667dcafc4b65505c0829c2295404 (diff) | |
download | android_bootable_recovery-cfcafa14542565a96ca9ddc54a65a2e3d9cd28d0.tar.gz android_bootable_recovery-cfcafa14542565a96ca9ddc54a65a2e3d9cd28d0.tar.bz2 android_bootable_recovery-cfcafa14542565a96ca9ddc54a65a2e3d9cd28d0.zip |
recovery: Blank screen during shutdown and reboot
Some hardware doesn't like having the panel on and still
active during power cycles, so just turn it off.
(based on Ied1f0802f5a2d45980ee33abf2456a291ba64beb)
Change-Id: Ied6bbc3a32fd1c7cf6ea3ec1b2bee298520651c3
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index 7a987d0b..0349da3b 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1879,6 +1879,8 @@ int main(int argc, char **argv) { sync(); + ui->Stop(); + switch (after) { case Device::SHUTDOWN: ui->Print("Shutting down...\n"); |