summaryrefslogtreecommitdiff
path: root/apps/hosted/android/yesno.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-10-01 12:21:54 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2023-10-01 12:21:54 -0400
commitf017ef9617a584636c6c3df05383be37e2f1f549 (patch)
treed2fae250a16666cc4794a20b9f10605d1153ab84 /apps/hosted/android/yesno.c
parent1c47722226870023bf422d451527d86774900e1b (diff)
downloadrockbox-f017ef9617a584636c6c3df05383be37e2f1f549.tar.gz
rockbox-f017ef9617a584636c6c3df05383be37e2f1f549.zip
[FixRed] android yesno dialog
add a dummy fn with not for future dev Change-Id: I2afc06bb1eaeb19b4972b625b6245c2361d8b8e7
Diffstat (limited to 'apps/hosted/android/yesno.c')
-rw-r--r--apps/hosted/android/yesno.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/hosted/android/yesno.c b/apps/hosted/android/yesno.c
index bc8672ad76..af7f5a5c7b 100644
--- a/apps/hosted/android/yesno.c
+++ b/apps/hosted/android/yesno.c
@@ -117,6 +117,17 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message,
117 return ret ? YESNO_YES : YESNO_NO; 117 return ret ? YESNO_YES : YESNO_NO;
118} 118}
119 119
120enum yesno_res gui_syncyesno_run_w_tmo(int ticks, enum yesno_res tmo_default_res,
121 const struct text_message * main_message,
122 const struct text_message * yes_message,
123 const struct text_message * no_message)
124{
125 /* FIXME: create a prompt with timeout for android */
126 (void)ticks;
127 (void)tmo_default_res;
128 return gui_syncyesno_run(main_message, yes_message, no_message);
129}
130
120#endif 131#endif
121 132
122/* Function to manipulate all yesno dialogues. 133/* Function to manipulate all yesno dialogues.