summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2014-01-14 17:07:03 +0100
committerThomas Martitz <kugel@rockbox.org>2014-01-14 22:45:04 +0100
commitd0d9f868f628459ef9acda42d49a5b50492576f9 (patch)
treef0034ca2f1ee21744b1497b1e217c752e229e6f2
parenta43cce24b322d66ef9dc1f586f9e36a03662b105 (diff)
downloadrockbox-d0d9f86.tar.gz
rockbox-d0d9f86.tar.bz2
rockbox-d0d9f86.zip
FMS: Load/update the skin at last, when fully initialzed, so that it can display the right content from the beginning.
Change-Id: I15a708d34912c0749f2497baabf90d26deaaf5df
-rw-r--r--apps/radio/radio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c
index a2c918a47c..fdbcc89641 100644
--- a/apps/radio/radio.c
+++ b/apps/radio/radio.c
@@ -409,8 +409,6 @@ void radio_screen(void)
audio_stop();
fms_fix_displays(FMS_ENTER);
- FOR_NB_SCREENS(i)
- skin_update(FM_SCREEN, i, SKIN_REFRESH_ALL);
#ifndef SIMULATOR
@@ -454,6 +452,11 @@ void radio_screen(void)
if(radio_current_preset() != -1)
radio_mode = RADIO_PRESET_MODE;
+ /* Load/update the skin at last, when fully initialzed, so that it can
+ * display the right content from the beginning */
+ FOR_NB_SCREENS(i)
+ skin_update(FM_SCREEN, i, SKIN_REFRESH_ALL);
+
#ifndef HAVE_NOISY_IDLE_MODE
cpu_idle_mode(true);
#endif