Skip to content
Snippets Groups Projects
Commit aee695b9 authored by akwizgran's avatar akwizgran
Browse files

Don't enable the WAN TCP plugin on Android.

Direct P2P connections between mobile devices are unlikely to work, and
they'd expose the social graph to surveillance.
parent f1d3093e
No related branches found
No related tags found
Loading
......@@ -15,7 +15,6 @@ import org.briarproject.api.plugins.simplex.SimplexPluginConfig;
import org.briarproject.api.plugins.simplex.SimplexPluginFactory;
import org.briarproject.plugins.droidtooth.DroidtoothPluginFactory;
import org.briarproject.plugins.tcp.DroidLanTcpPluginFactory;
import org.briarproject.plugins.tcp.WanTcpPluginFactory;
import org.briarproject.plugins.tor.TorPluginFactory;
import android.content.Context;
......@@ -48,10 +47,8 @@ public class AndroidPluginsModule extends AbstractModule {
appContext, shutdownManager);
DuplexPluginFactory lan = new DroidLanTcpPluginFactory(pluginExecutor,
appContext);
DuplexPluginFactory wan = new WanTcpPluginFactory(pluginExecutor,
shutdownManager);
final Collection<DuplexPluginFactory> factories =
Arrays.asList(droidtooth, tor, lan, wan);
Arrays.asList(droidtooth, tor, lan);
return new DuplexPluginConfig() {
public Collection<DuplexPluginFactory> getFactories() {
return factories;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment