From b58d3656d79e5f9752a22d55c139294412084e4f Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 1 Jun 2011 14:41:49 +0000 Subject: FS#11925 - Add a proper system to keep track of the current screen/activity to make %cs far more useful git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29944 a1c6a512-1295-4272-9138-f99709370657 --- apps/radio/radio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/radio/radio.c') diff --git a/apps/radio/radio.c b/apps/radio/radio.c index 5c0b884cd1..4da37b2ca5 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c @@ -403,6 +403,7 @@ void radio_screen(void) #endif /* change status to "in screen" */ + push_current_activity(ACTIVITY_FM); in_screen = true; if(radio_preset_count() <= 0) @@ -868,6 +869,7 @@ void radio_screen(void) cpu_idle_mode(false); #endif fms_fix_displays(FMS_EXIT); + pop_current_activity(); in_screen = false; } /* radio_screen */ -- cgit v1.2.3