mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Make plugins and polling configurable
* Move PluginConfig out of bramble-android. Projects using bramble now need to provide it. * Add a PluginConfig#shouldPoll() method which can be used to disable polling altogether. * Move Poller instantiation to the PluginManager.
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
package org.briarproject.bramble;
|
||||
|
||||
import org.briarproject.bramble.plugin.AndroidPluginModule;
|
||||
import org.briarproject.bramble.system.AndroidSystemModule;
|
||||
|
||||
import dagger.Module;
|
||||
|
||||
@Module(includes = {
|
||||
AndroidPluginModule.class,
|
||||
AndroidSystemModule.class
|
||||
})
|
||||
public class BrambleAndroidModule {
|
||||
|
||||
Reference in New Issue
Block a user