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:
parent
70eb3e6a56
commit
53c6bab75b
1 changed files with 3 additions and 0 deletions
|
@ -39,6 +39,7 @@
|
||||||
#include "appevents.h"
|
#include "appevents.h"
|
||||||
#include "usb_screen.h"
|
#include "usb_screen.h"
|
||||||
#include "skin_engine/skin_engine.h"
|
#include "skin_engine/skin_engine.h"
|
||||||
|
#include "playlist.h"
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
#include "bitmaps/usblogo.h"
|
#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 */
|
/* Not pretty, reload all settings so fonts are loaded again correctly */
|
||||||
settings_apply(true);
|
settings_apply(true);
|
||||||
settings_apply_skins();
|
settings_apply_skins();
|
||||||
|
/* Reload playlist */
|
||||||
|
playlist_resume();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue