diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-14 17:07:03 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-14 22:45:04 +0100 |
commit | d0d9f868f628459ef9acda42d49a5b50492576f9 (patch) | |
tree | f0034ca2f1ee21744b1497b1e217c752e229e6f2 | |
parent | a43cce24b322d66ef9dc1f586f9e36a03662b105 (diff) | |
download | rockbox-d0d9f868f628459ef9acda42d49a5b50492576f9.tar.gz rockbox-d0d9f868f628459ef9acda42d49a5b50492576f9.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.c | 7 |
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) | |||
409 | audio_stop(); | 409 | audio_stop(); |
410 | 410 | ||
411 | fms_fix_displays(FMS_ENTER); | 411 | fms_fix_displays(FMS_ENTER); |
412 | FOR_NB_SCREENS(i) | ||
413 | skin_update(FM_SCREEN, i, SKIN_REFRESH_ALL); | ||
414 | 412 | ||
415 | #ifndef SIMULATOR | 413 | #ifndef SIMULATOR |
416 | 414 | ||
@@ -454,6 +452,11 @@ void radio_screen(void) | |||
454 | if(radio_current_preset() != -1) | 452 | if(radio_current_preset() != -1) |
455 | radio_mode = RADIO_PRESET_MODE; | 453 | radio_mode = RADIO_PRESET_MODE; |
456 | 454 | ||
455 | /* Load/update the skin at last, when fully initialzed, so that it can | ||
456 | * display the right content from the beginning */ | ||
457 | FOR_NB_SCREENS(i) | ||
458 | skin_update(FM_SCREEN, i, SKIN_REFRESH_ALL); | ||
459 | |||
457 | #ifndef HAVE_NOISY_IDLE_MODE | 460 | #ifndef HAVE_NOISY_IDLE_MODE |
458 | cpu_idle_mode(true); | 461 | cpu_idle_mode(true); |
459 | #endif | 462 | #endif |