summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-10-10 03:28:40 +0200
committerChristian Soffke <christian.soffke@gmail.com>2022-12-13 20:52:09 -0500
commit0e2e9df99111708b65df02ddd6987a47b0f9a4ed (patch)
treec06145b906ebd28b6c8d4275eb511d43ced251f8 /apps
parentd520dcbfbb41e816b50085556a1f447b3a22da79 (diff)
downloadrockbox-0e2e9df99111708b65df02ddd6987a47b0f9a4ed.tar.gz
rockbox-0e2e9df99111708b65df02ddd6987a47b0f9a4ed.zip
Plugins: Eliminate 'Loading' splash unless disk is inactive
My impression is that the waiting time for plugins is only ever significant if a disk needs to spin up. In other cases, the experience seems nicer without a 'Loading' splash, especially for often-used plugins, such as 'Properties', when it is launched from the Database or from the File Browser. Change-Id: I018ccb13466fa618ef089b6dc7714db38cffd9b6
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index b8897c95ee..2be6e10308 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -847,7 +847,10 @@ int plugin_load(const char* plugin, const void* parameter)
847 plugin_buffer_handle = core_free(plugin_buffer_handle); 847 plugin_buffer_handle = core_free(plugin_buffer_handle);
848 } 848 }
849 849
850 splash(0, ID2P(LANG_WAIT)); 850#ifdef HAVE_DISK_STORAGE
851 if (!storage_disk_is_active())
852 splash(0, ID2P(LANG_WAIT));
853#endif
851 strcpy(current_plugin, plugin); 854 strcpy(current_plugin, plugin);
852 855
853 current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE); 856 current_plugin_handle = lc_open(plugin, pluginbuf, PLUGIN_BUFFER_SIZE);