Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b736efe authored by Mark Salyzyn's avatar Mark Salyzyn Committed by android-build-merger
Browse files

Merge "init: shutdown,thermal shut off display immediately" am: 82ee4060 am: a27a4859

am: 9c76b46e

Change-Id: I22c838b5183dae77f143cc45df52452c5f05915b
parents c450b2f6 9c76b46e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -483,6 +483,8 @@ bool HandlePowerctlMessage(const std::string& command) {
                // Run fsck once the file system is remounted in read-only mode.
                run_fsck = true;
            } else if (cmd_params[1] == "thermal") {
                // Turn off sources of heat immediately.
                TurnOffBacklight();
                // run_fsck is false to avoid delay
                cmd = ANDROID_RB_THERMOFF;
            }