diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-12-14 03:06:04 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-12-14 22:35:33 -0500 |
commit | 6b87bfadfff6c44722f8ffe5227c05c41b1b47c8 (patch) | |
tree | a0f346c8cde95c33d0561977a064cc438841923e /apps/plugin.c | |
parent | eaf717744d425e0bb8905f451e7443b07b67f97b (diff) | |
download | rockbox-6b87bfadfff6c44722f8ffe5227c05c41b1b47c8.tar.gz rockbox-6b87bfadfff6c44722f8ffe5227c05c41b1b47c8.zip |
wps.c cleanup gui_show_wps
remove some old cruft move a few things around clean-up flow
Change-Id: I138c6cd9e2d58ef526eb686333da413819df725d
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 21dbe47c54..45829a42ad 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -925,14 +925,16 @@ int plugin_load(const char* plugin, const void* parameter) | |||
925 | 925 | ||
926 | tree_unlock_cache(tree_get_context()); | 926 | tree_unlock_cache(tree_get_context()); |
927 | 927 | ||
928 | pop_current_activity(ACTIVITY_REFRESH_DEFERRED); | 928 | pop_current_activity_without_refresh(); |
929 | int curr_activity = get_current_activity(); | 929 | if (rc != PLUGIN_GOTO_WPS) |
930 | if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) && | ||
931 | (curr_activity != ACTIVITY_WPS) && | ||
932 | (rc != PLUGIN_GOTO_WPS)) | ||
933 | { | 930 | { |
934 | FOR_NB_SCREENS(i) | 931 | int curr_activity = get_current_activity(); |
935 | skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL); | 932 | if ((curr_activity != ACTIVITY_PLAYLISTVIEWER) && |
933 | (curr_activity != ACTIVITY_WPS)) | ||
934 | { | ||
935 | FOR_NB_SCREENS(i) | ||
936 | skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL); | ||
937 | } | ||
936 | } | 938 | } |
937 | 939 | ||
938 | if (!pfn_tsr_exit) | 940 | if (!pfn_tsr_exit) |