summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-08-30 23:10:21 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2013-08-30 23:10:21 +0200
commit79a188cbcfacd898f01d071159b56b87c8612fbf (patch)
tree72ccf7c37e353c979a85b1365e9beb4346e59479 /recovery.cpp
parentam 19877de5: am 5c4e1dac: Merge "Update libpng API usage" (diff)
parentam 77ea71d6: recovery: fix rebooting (diff)
downloadandroid_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar.gz
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar.bz2
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar.lz
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar.xz
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.tar.zst
android_bootable_recovery-79a188cbcfacd898f01d071159b56b87c8612fbf.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 654a66526..b78339314 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");
- android_reboot(ANDROID_RB_RESTART, 0, 0);
+ property_set(ANDROID_RB_PROPERTY, "");
return EXIT_SUCCESS;
}