1
0
Fork 0
forked from len0rd/rockbox

Add a plugin activity which to the %cs screen option list

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30253 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-08-04 13:40:24 +00:00
parent 44ffa3ef93
commit 32dfc0cdc1
3 changed files with 6 additions and 2 deletions

View file

@ -114,7 +114,8 @@ enum current_activity {
ACTIVITY_QUICKSCREEN,
ACTIVITY_PITCHSCREEN,
ACTIVITY_OPTIONSELECT,
ACTIVITY_PLAYLISTBROWSER
ACTIVITY_PLAYLISTBROWSER,
ACTIVITY_PLUGIN
};
#if CONFIG_CODEC == SWCODEC

View file

@ -864,6 +864,7 @@ int plugin_load(const char* plugin, const void* parameter)
lcd_remote_clear_display();
lcd_remote_update();
#endif
push_current_activity(ACTIVITY_PLUGIN);
FOR_NB_SCREENS(i)
viewportmanager_theme_enable(i, false, NULL);
@ -877,6 +878,8 @@ int plugin_load(const char* plugin, const void* parameter)
#endif
rc = p_hdr->entry_point(parameter);
pop_current_activity();
if (!pfn_tsr_exit)
{ /* close handle if plugin is no tsr one */