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-19 23:43:08 +0200
commit8706a98aa635236a95795f0a0c122bb3e591a50d (patch)
tree133e90784e5115282067ed38c1e5919a3a033b7c /ui.cpp
parentMerge "Add 'system' to update_verifier's gid" (diff)
downloadandroid_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar.gz
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar.bz2
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar.lz
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar.xz
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.tar.zst
android_bootable_recovery-8706a98aa635236a95795f0a0c122bb3e591a50d.zip
Diffstat (limited to 'ui.cpp')
-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;