1
0
Fork 0
forked from len0rd/rockbox

We should reload the playlist control file when leaving

USB mode to make sure the filedescriptor is correct.

Change-Id: I2905eaf27533d935a0458b630372584e353c7160
Reviewed-on: http://gerrit.rockbox.org/294
Reviewed-by: Michael Giacomelli <mgiacomelli@gmail.com>
Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
This commit is contained in:
Fred W. Bauer 2012-07-17 14:55:14 -04:00 committed by Jonathan Gordon
parent 70eb3e6a56
commit 53c6bab75b

View file

@ -39,6 +39,7 @@
#include "appevents.h"
#include "usb_screen.h"
#include "skin_engine/skin_engine.h"
#include "playlist.h"
#ifdef HAVE_LCD_BITMAP
#include "bitmaps/usblogo.h"
@ -330,6 +331,8 @@ void gui_usb_screen_run(bool early_usb)
/* Not pretty, reload all settings so fonts are loaded again correctly */
settings_apply(true);
settings_apply_skins();
/* Reload playlist */
playlist_resume();
}
#endif