forked from I2P_Developers/i2p.i2p
Don't automatically start TCG on Android
This commit is contained in:
@@ -85,6 +85,7 @@ public class TunnelControllerGroup implements ClientApp {
|
|||||||
I2PAppContext ctx = I2PAppContext.getGlobalContext();
|
I2PAppContext ctx = I2PAppContext.getGlobalContext();
|
||||||
if (SystemVersion.isAndroid() || !ctx.isRouterContext()) {
|
if (SystemVersion.isAndroid() || !ctx.isRouterContext()) {
|
||||||
_instance = new TunnelControllerGroup(ctx, null, null);
|
_instance = new TunnelControllerGroup(ctx, null, null);
|
||||||
|
if (!SystemVersion.isAndroid())
|
||||||
_instance.startup();
|
_instance.startup();
|
||||||
} // else wait for the router to start it
|
} // else wait for the router to start it
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user