summaryrefslogtreecommitdiffstats
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-12-16 08:02:46 +0100
committerChristian Soffke <christian.soffke@gmail.com>2022-12-16 02:05:33 -0500
commit79e6139f56ba8812e2a2fab1688b89285ffda300 (patch)
treee1c0a3798d5f9558a3b09dc979b7a9e05a6c4c17 /apps/plugin.c
parent28f768cb8421025c15f1970d2724d467f845f055 (diff)
downloadrockbox-79e6139f56.tar.gz
rockbox-79e6139f56.zip
Playlist Viewer: Fix delayed appearance of backdrop on return from plugin
Change-Id: I84ff9b581d185fecbe3c7405d3e1887715d55d17
Diffstat (limited to 'apps/plugin.c')
-rw-r--r--apps/plugin.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index 45829a42ad..166c9baa04 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -926,15 +926,10 @@ int plugin_load(const char* plugin, const void* parameter)
tree_unlock_cache(tree_get_context());
pop_current_activity_without_refresh();
- if (rc != PLUGIN_GOTO_WPS)
+ if ((rc != PLUGIN_GOTO_WPS) && (get_current_activity() != ACTIVITY_WPS))
{
- int curr_activity = get_current_activity();
- if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) &&
- (curr_activity != ACTIVITY_WPS))
- {
- FOR_NB_SCREENS(i)
+ FOR_NB_SCREENS(i)
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
- }
}
if (!pfn_tsr_exit)