From 57d7bb695b644db0674c37a4d7114f9ec65867ed Mon Sep 17 00:00:00 2001 From: Nikita Ioffe Date: Thu, 28 Nov 2019 18:25:24 +0000 Subject: [PATCH] Fix typo in userspace reboot watchdog Test: adb reboot userspace Bug: 135984674 Change-Id: I4003683307a22e8d744748fb1311c16eb5ee1428 --- init/reboot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/reboot.cpp b/init/reboot.cpp index 13cebcc17..c9b521a46 100644 --- a/init/reboot.cpp +++ b/init/reboot.cpp @@ -806,7 +806,7 @@ static Result 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;