summaryrefslogtreecommitdiffstats
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
parent1c47722226870023bf422d451527d86774900e1b (diff)
downloadrockbox-f017ef9617.tar.gz
rockbox-f017ef9617.zip
[FixRed] android yesno dialog
add a dummy fn with not for future dev Change-Id: I2afc06bb1eaeb19b4972b625b6245c2361d8b8e7
-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,
return ret ? YESNO_YES : YESNO_NO;
}
+enum yesno_res gui_syncyesno_run_w_tmo(int ticks, enum yesno_res tmo_default_res,
+ const struct text_message * main_message,
+ const struct text_message * yes_message,
+ const struct text_message * no_message)
+{
+ /* FIXME: create a prompt with timeout for android */
+ (void)ticks;
+ (void)tmo_default_res;
+ return gui_syncyesno_run(main_message, yes_message, no_message);
+}
+
#endif
/* Function to manipulate all yesno dialogues.