mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
wps.c cleanup gui_show_wps
remove some old cruft move a few things around clean-up flow Change-Id: I138c6cd9e2d58ef526eb686333da413819df725d
This commit is contained in:
parent
eaf717744d
commit
6b87bfadff
17 changed files with 249 additions and 238 deletions
|
@ -925,14 +925,16 @@ int plugin_load(const char* plugin, const void* parameter)
|
|||
|
||||
tree_unlock_cache(tree_get_context());
|
||||
|
||||
pop_current_activity(ACTIVITY_REFRESH_DEFERRED);
|
||||
int curr_activity = get_current_activity();
|
||||
if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) &&
|
||||
(curr_activity != ACTIVITY_WPS) &&
|
||||
(rc != PLUGIN_GOTO_WPS))
|
||||
pop_current_activity_without_refresh();
|
||||
if (rc != PLUGIN_GOTO_WPS)
|
||||
{
|
||||
FOR_NB_SCREENS(i)
|
||||
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
|
||||
int curr_activity = get_current_activity();
|
||||
if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) &&
|
||||
(curr_activity != ACTIVITY_WPS))
|
||||
{
|
||||
FOR_NB_SCREENS(i)
|
||||
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
|
||||
}
|
||||
}
|
||||
|
||||
if (!pfn_tsr_exit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue