commit | 41928ce61da9b4e328f361f8295f83bd1149d430 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed May 27 13:37:04 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed May 27 13:37:04 2015 +0000 |
tree | d5f4c109941ecb866ddabb30883aa4df08039942 | |
parent | b48bdbeda03af04ec8e0d52f6af680a9062eb916 [diff] | |
parent | 4e92ba400930857fdeb2f5625949e6d8f55c87a9 [diff] |
Merge "Revert "recovery: change the way of rebooting when using power key combo""
diff --git a/ui.cpp b/ui.cpp index 2b1a6af..1a0b079 100644 --- a/ui.cpp +++ b/ui.cpp
@@ -174,8 +174,7 @@ case RecoveryUI::REBOOT: if (reboot_enabled) { - property_set(ANDROID_RB_PROPERTY, "reboot,"); - while(1) { pause(); } + android_reboot(ANDROID_RB_RESTART, 0, 0); } break;