diff options
author | Tao Bao <tbao@google.com> | 2015-05-27 14:46:17 -0700 |
---|---|---|
committer | Tao Bao <tbao@google.com> | 2015-05-27 14:48:56 -0700 |
commit | 752386319c0d9fb7e4e429a0644086b318d3b4b5 (patch) | |
tree | 1740d5e309610ce3dc8c808b508450ff6eb34009 /ui.cpp | |
parent | 73151b5101c132091d5853dd635b3fc941f242dc (diff) | |
download | android_bootable_recovery-752386319c0d9fb7e4e429a0644086b318d3b4b5.tar.gz android_bootable_recovery-752386319c0d9fb7e4e429a0644086b318d3b4b5.tar.bz2 android_bootable_recovery-752386319c0d9fb7e4e429a0644086b318d3b4b5.zip |
Clean up the sleep()'s after poking init services
Change-Id: I77564fe5c59e604f1377b278681b7d1bff53a77a
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; |