Fix typo in userspace reboot watchdog

Test: adb reboot userspace
Bug: 135984674
Change-Id: I4003683307a22e8d744748fb1311c16eb5ee1428
This commit is contained in:
Nikita Ioffe 2019-11-28 18:25:24 +00:00
parent 834e4751e6
commit 57d7bb695b

View file

@ -806,7 +806,7 @@ static Result<void> DoUserspaceReboot() {
}
static void UserspaceRebootWatchdogThread() {
if (!WaitForProperty("sys.init.userspace_reboot_in_progress", "1", 20s)) {
if (!WaitForProperty("sys.init.userspace_reboot.in_progress", "1", 20s)) {
// TODO(b/135984674): should we reboot instead?
LOG(WARNING) << "Userspace reboot didn't start in 20 seconds. Stopping watchdog";
return;