summaryrefslogtreecommitdiff
path: root/apps/root_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/root_menu.c')
-rw-r--r--apps/root_menu.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/root_menu.c b/apps/root_menu.c
index 5a8d40f0b6..a65ceb51b9 100644
--- a/apps/root_menu.c
+++ b/apps/root_menu.c
@@ -639,7 +639,15 @@ void root_menu(void)
639 case GO_TO_ROOT: 639 case GO_TO_ROOT:
640 if (last_screen != GO_TO_ROOT) 640 if (last_screen != GO_TO_ROOT)
641 selected = get_selection(last_screen); 641 selected = get_selection(last_screen);
642#if (CONFIG_PLATFORM&PLATFORM_ANDROID)
643 /* When we are in the main menu we want the hardware BACK
644 * button to be handled by Android instead of rockbox */
645 android_ignore_back_button(true);
646#endif
642 next_screen = do_menu(&root_menu_, &selected, NULL, false); 647 next_screen = do_menu(&root_menu_, &selected, NULL, false);
648#if (CONFIG_PLATFORM&PLATFORM_ANDROID)
649 android_ignore_back_button(false);
650#endif
643 if (next_screen != GO_TO_PREVIOUS) 651 if (next_screen != GO_TO_PREVIOUS)
644 last_screen = GO_TO_ROOT; 652 last_screen = GO_TO_ROOT;
645 break; 653 break;