summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-05-28 01:35:47 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-28 01:35:47 +0200
commit9a5e2a2611997d7803f079b8adb3535b6abc80fb (patch)
tree1740d5e309610ce3dc8c808b508450ff6eb34009 /ui.cpp
parentam 73151b51: Merge "recovery: change the way of rebooting when using power key combo" (diff)
parentMerge "Clean up the sleep()'s after poking init services" (diff)
downloadandroid_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar.gz
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar.bz2
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar.lz
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar.xz
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.tar.zst
android_bootable_recovery-9a5e2a2611997d7803f079b8adb3535b6abc80fb.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 d88cbfeba..2efb759db 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -176,7 +176,7 @@ void RecoveryUI::ProcessKey(int key_code, int updown) {
case RecoveryUI::REBOOT:
if (reboot_enabled) {
property_set(ANDROID_RB_PROPERTY, "reboot,");
- while(1) { pause(); }
+ while (true) { pause(); }
}
break;