Plugin return: only skip SBS refresh if WPS was previous activity
1) the plugin return value isn't necessarily respected. 2) the screen will be updated regardless, before the WPS is displayed, which means the skin may appear in an "incorrect" state for a moment. It is therefore better to simplify this to a single condition. Change-Id: I723e6fe4862172075b9a4814080f612c2b2fb490
This commit is contained in:
parent
a6bafe51a6
commit
222ff0cb14
1 changed files with 1 additions and 1 deletions
|
@ -926,7 +926,7 @@ 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) && (get_current_activity() != ACTIVITY_WPS))
|
||||
if (get_current_activity() != ACTIVITY_WPS)
|
||||
{
|
||||
FOR_NB_SCREENS(i)
|
||||
skin_update(CUSTOM_STATUSBAR, i, SKIN_REFRESH_ALL);
|
||||
|
|
Loading…
Reference in a new issue