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

Commit 44000779 authored by Hongguang Chen's avatar Hongguang Chen Committed by Automerger Merge Worker
Browse files

Merge "Fix Quiescent Reboot Reason" am: 850866e9 am: 933dacac am: dc2d21b9 am: d355459a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1751962

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


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