Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c303d24 authored by Selim Cinek's avatar Selim Cinek Committed by Automerger Merge Worker
Browse files

Merge "Pass actual plugin to PluginInstanceManager.MainHandler." into rvc-dev...

Merge "Pass actual plugin to PluginInstanceManager.MainHandler." into rvc-dev am: 755bf9e0 am: e5b21c78 am: cbce2e83

Change-Id: If2a187c0f916a68a85c565b6cfc147328f63784d
parents c30061fd cbce2e83
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -256,9 +256,9 @@ public class PluginInstanceManager<T extends Plugin> {
                case QUERY_ALL:
                    if (DEBUG) Log.d(TAG, "queryAll " + mAction);
                    for (int i = mPlugins.size() - 1; i >= 0; i--) {
                        PluginInfo<T> plugin = mPlugins.get(i);
                        PluginInfo<T> pluginInfo = mPlugins.get(i);
                        mMainHandler.obtainMessage(
                                mMainHandler.PLUGIN_DISCONNECTED, plugin).sendToTarget();
                                MainHandler.PLUGIN_DISCONNECTED, pluginInfo.mPlugin).sendToTarget();
                    }
                    mPlugins.clear();
                    handleQueryPlugins(null);