summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorDmitri Plotnikov <dplotnikov@google.com>2017-04-28 00:41:33 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-04-28 00:41:33 +0200
commit5b27cd109341b2da9ce0ef6e698a5f986d99b31f (patch)
tree0dd6c82a91f5867046e6c9806b0484b2754165e1 /ui.cpp
parentMerge "Separate libupdate_verifier module and add testcases." (diff)
parentMerge "Adding support for quiescent reboot to recovery" (diff)
downloadandroid_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar.gz
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar.bz2
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar.lz
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar.xz
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.tar.zst
android_bootable_recovery-5b27cd109341b2da9ce0ef6e698a5f986d99b31f.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;