1
0
Fork 0
forked from len0rd/rockbox

FMS: Load/update the skin at last, when fully initialzed, so that it can display the right content from the beginning.

Change-Id: I15a708d34912c0749f2497baabf90d26deaaf5df
This commit is contained in:
Thomas Martitz 2014-01-14 17:07:03 +01:00
parent a43cce24b3
commit d0d9f868f6

View file

@ -409,8 +409,6 @@ void radio_screen(void)
audio_stop(); audio_stop();
fms_fix_displays(FMS_ENTER); fms_fix_displays(FMS_ENTER);
FOR_NB_SCREENS(i)
skin_update(FM_SCREEN, i, SKIN_REFRESH_ALL);
#ifndef SIMULATOR #ifndef SIMULATOR
@ -454,6 +452,11 @@ void radio_screen(void)
if(radio_current_preset() != -1) if(radio_current_preset() != -1)
radio_mode = RADIO_PRESET_MODE; 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 #ifndef HAVE_NOISY_IDLE_MODE
cpu_idle_mode(true); cpu_idle_mode(true);
#endif #endif