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

Commit 850866e9 authored by Hongguang Chen's avatar Hongguang Chen Committed by Gerrit Code Review
Browse files

Merge "Fix Quiescent Reboot Reason"

parents efc03680 e8350470
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3756,7 +3756,10 @@ public final class PowerManagerService extends SystemService
        if (sQuiescent) {
            // Pass the optional "quiescent" argument to the bootloader to let it know
            // that it should not turn the screen/lights on.
            reason = reason + ",quiescent";
            if (reason != ""){
                reason += ",";
            }
            reason = reason + "quiescent";
        }

        SystemProperties.set("sys.powerctl", "reboot," + reason);