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

Commit bb36e559 authored by Dave Mankoff's avatar Dave Mankoff
Browse files

Turn PluginManager into a Singelton.

Fixes a memory leak around UncaughtExceptionHandler where
a new one would be created each time PluginManagerImpl was
instantiated.

Fixes: 199853969
Test: manual
Change-Id: Ie4c3a0ca791ded4bb9737bd24a554943990c6680
parent d730a095
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -102,6 +102,7 @@ public abstract class PluginsModule {
    }

    @Provides
    @Singleton
    static PluginManager providesPluginManager(
            Context context,
            PluginActionManager.Factory instanceManagerFactory,