summaryrefslogtreecommitdiffstats
path: root/apps/radio/radio.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-06-01 14:41:49 +0000
commitb58d3656d79e5f9752a22d55c139294412084e4f (patch)
treebd98c9d2ab0db1e0df432814bb398cdb49739fe1 /apps/radio/radio.c
parentc54f4b34400ea96bd3e2d86ba919a0ae509a56a9 (diff)
downloadrockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.gz
rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.tar.bz2
rockbox-b58d3656d79e5f9752a22d55c139294412084e4f.zip
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
Diffstat (limited to 'apps/radio/radio.c')
-rw-r--r--apps/radio/radio.c2
1 files changed, 2 insertions, 0 deletions
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 */