summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-13 22:24:42 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-13 22:24:42 +0200
commitd7823c5dfed67b1e8b0e175e588fb2dc643ebc65 (patch)
tree9c50497f0d82bb99eed807a84715b827a7d07a73 /screen_ui.h
parentam b68c4fc4: Merge "Treat KEY_ENTER the same as KEY_POWER in the pager." (diff)
parentMerge "Remove unnecessary globals." (diff)
downloadandroid_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar.gz
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar.bz2
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar.lz
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar.xz
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.tar.zst
android_bootable_recovery-d7823c5dfed67b1e8b0e175e588fb2dc643ebc65.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);