summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-13 22:04:32 +0200
committerElliott Hughes <enh@google.com>2015-04-13 22:04:32 +0200
commit985022a6231814de2bfaf621fd0725c48bb98411 (patch)
treec3658b7885fa472c0da0cfcf9024a840faac714a /screen_ui.h
parentMerge "Rewritten file pager." (diff)
downloadandroid_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.gz
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.bz2
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.lz
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.xz
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.tar.zst
android_bootable_recovery-985022a6231814de2bfaf621fd0725c48bb98411.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h7
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);