summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2017-04-18 17:28:26 +0200
committerDmitri Plotnikov <dplotnikov@google.com>2017-04-28 01:31:11 +0200
commited9db0fd73f0368be354a65d7bdc3de5d01bdc88 (patch)
treea383c952eea5b1f7c0feb71fd0bb2bb076f9c128 /ui.cpp
parentAdd more tests for verify_package_compatibility(). (diff)
downloadandroid_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar.gz
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar.bz2
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar.lz
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar.xz
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.tar.zst
android_bootable_recovery-ed9db0fd73f0368be354a65d7bdc3de5d01bdc88.zip
Diffstat (limited to '')
-rw-r--r--ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.cpp b/ui.cpp
index 9194ae3df..cad744930 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -227,7 +227,7 @@ void RecoveryUI::ProcessKey(int key_code, int updown) {
case RecoveryUI::REBOOT:
if (reboot_enabled) {
- android::base::SetProperty(ANDROID_RB_PROPERTY, "reboot,");
+ reboot("reboot,");
while (true) { pause(); }
}
break;