diff options
author | Tao Bao <tbao@google.com> | 2015-05-28 01:13:38 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-05-28 01:17:13 +0200 |
commit | f272b9e777de92f96b9298889bf145e40c5db2e3 (patch) | |
tree | 1740d5e309610ce3dc8c808b508450ff6eb34009 /ui.cpp | |
parent | Merge "recovery: change the way of rebooting when using power key combo" (diff) | |
parent | Clean up the sleep()'s after poking init services (diff) | |
download | android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar.gz android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar.bz2 android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar.lz android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar.xz android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.tar.zst android_bootable_recovery-f272b9e777de92f96b9298889bf145e40c5db2e3.zip |
Diffstat (limited to 'ui.cpp')
-rw-r--r-- | ui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |