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

Commit d355459a 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

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

Change-Id: I418d770eb17a316e6267d1b22a5b951f58b8f0e5
parents 5caec096 dc2d21b9
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4087,7 +4087,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);