Merge "Fix Quiescent Reboot Reason" am: 850866e94a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1751962 Change-Id: If0cd58c17c3049597147389257f4dcfe895b1f54
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user