summaryrefslogtreecommitdiffstats
path: root/recovery_ui/ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-04-29 23:53:41 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-04-29 23:53:41 +0200
commit189c8f9aebd99c2793f99ed8289cb86efda08261 (patch)
treec3b9c8facbf2b5cad17e39f8df138c2f8f837e94 /recovery_ui/ui.cpp
parentMerge "Add install/wipe_device.cpp." (diff)
parentConsolidate the codes that handle reboot/shutdown. (diff)
downloadandroid_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.gz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.bz2
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.lz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.xz
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.tar.zst
android_bootable_recovery-189c8f9aebd99c2793f99ed8289cb86efda08261.zip
Diffstat (limited to 'recovery_ui/ui.cpp')
-rw-r--r--recovery_ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery_ui/ui.cpp b/recovery_ui/ui.cpp
index b7107ff21..7ea9307c9 100644
--- a/recovery_ui/ui.cpp
+++ b/recovery_ui/ui.cpp
@@ -375,7 +375,7 @@ void RecoveryUI::ProcessKey(int key_code, int updown) {
case RecoveryUI::REBOOT:
if (reboot_enabled) {
- reboot("reboot,");
+ Reboot("");
while (true) {
pause();
}