Skip to content
Snippets Groups Projects
Commit bc75f0dd authored by Alexander Lussier-Cullen's avatar Alexander Lussier-Cullen
Browse files

Call: filter out non-media handler / disabled plugins from plugin list

GitLab: #1655
Change-Id: I2817ab8f97d6fdb98e70328dcc44ce17a9d7a45a
parent d475fff8
Branches
Tags
No related merge requests found
...@@ -875,7 +875,9 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView, ...@@ -875,7 +875,9 @@ class CallFragment : BaseSupportFragment<CallPresenter, CallView>(), CallView,
} }
binding.root.post { setBottomSheet() } binding.root.post { setBottomSheet() }
if(callMediaHandlers == null) callMediaHandlers = PluginUtils.getInstalledPlugins(binding.pluginslistContainer.context) if(callMediaHandlers == null)
callMediaHandlers = PluginUtils.getInstalledPlugins(binding.pluginslistContainer.context)
.filter { !it.handlerId.isNullOrEmpty() }
pluginsAdapter = PluginsAdapter( pluginsAdapter = PluginsAdapter(
mList = callMediaHandlers!!, mList = callMediaHandlers!!,
listener = object : PluginsAdapter.PluginListItemListener { listener = object : PluginsAdapter.PluginListItemListener {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment