diff options
author | Elliott Hughes <enh@google.com> | 2015-04-13 22:52:10 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-13 22:52:10 +0200 |
commit | 6564544e1efe9262d61ce031db32a76e28762472 (patch) | |
tree | 9c50497f0d82bb99eed807a84715b827a7d07a73 /screen_ui.h | |
parent | am 507630e9: am b68c4fc4: Merge "Treat KEY_ENTER the same as KEY_POWER in the pager." (diff) | |
parent | am eab12de7: Merge "Remove unnecessary globals." (diff) | |
download | android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar.gz android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar.bz2 android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar.lz android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar.xz android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.tar.zst android_bootable_recovery-6564544e1efe9262d61ce031db32a76e28762472.zip |
Diffstat (limited to 'screen_ui.h')
-rw-r--r-- | screen_ui.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/screen_ui.h b/screen_ui.h index 590e5c8e6..50a456425 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -98,7 +98,7 @@ class ScreenRecoveryUI : public RecoveryUI { bool show_menu; int menu_top, menu_items, menu_sel; - pthread_t progress_t; + pthread_t progress_thread_; int animation_fps; int installing_frames; @@ -112,8 +112,9 @@ class ScreenRecoveryUI : public RecoveryUI { void draw_screen_locked(); void update_screen_locked(); void update_progress_locked(); - static void* progress_thread(void* cookie); - void progress_loop(); + + static void* ProgressThreadStartRoutine(void* data); + void ProgressThreadLoop(); void ShowFile(FILE*); void PutChar(char); |