diff options
author | Doug Zongker <dougz@google.com> | 2013-09-03 14:29:54 -0700 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2013-09-03 14:29:54 -0700 |
commit | 3b5a987cd7fd76c038e9875b430028216d21ace3 (patch) | |
tree | 63100d569551c8fa1490f3f73be90d6f1dc69023 | |
parent | 77ea71d6a85a93c9bf423466e87661b1bf67c512 (diff) | |
download | bootable_recovery-3b5a987cd7fd76c038e9875b430028216d21ace3.zip bootable_recovery-3b5a987cd7fd76c038e9875b430028216d21ace3.tar.gz bootable_recovery-3b5a987cd7fd76c038e9875b430028216d21ace3.tar.bz2 |
recovery: fix use of init reboot method
We need to set the system property to "reboot,", not an empty string.
Bug: 10605007
Change-Id: I776e0d273764cf254651ab2b25c2743395b990e0
-rw-r--r-- | recovery.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp index b783393..d803cad 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1062,6 +1062,6 @@ main(int argc, char **argv) { // Otherwise, get ready to boot the main system... finish_recovery(send_intent); ui->Print("Rebooting...\n"); - property_set(ANDROID_RB_PROPERTY, ""); + property_set(ANDROID_RB_PROPERTY, "reboot,"); return EXIT_SUCCESS; } |