diff --git a/res/raw/router_config b/res/raw/router_config index 6eb7636acbbff6813eb2bfe29444a5ddf74e239b..4e3edbae0849ba364e48fea9c54e7599b105d9ef 100644 --- a/res/raw/router_config +++ b/res/raw/router_config @@ -54,6 +54,3 @@ i2np.udp.maxConnections=12 # not on android i2np.upnp.enable=false routerconsole.geoip.enable=false -# -# temp until certs are included -router.reseedSSLDisable=true diff --git a/src/net/i2p/android/router/activity/Init.java b/src/net/i2p/android/router/activity/Init.java index 617f0c9c25f04f2bd5a8fd3e467cbf5965cff448..d8188dae678ef7953c0d2688e7e773b824539e07 100644 --- a/src/net/i2p/android/router/activity/Init.java +++ b/src/net/i2p/android/router/activity/Init.java @@ -63,6 +63,12 @@ class Init { Properties props = new Properties(); props.setProperty("i2p.dir.temp", myDir + "/tmp"); props.setProperty("i2p.dir.pid", myDir + "/tmp"); + // Time disabled in default router.config + // But lots of time problems on Android, not all carriers support NITZ + // and there was no NTP before 3.0. Tablets should be fine? + // Phones in airplane mode with wifi enabled still a problem. + if (Build.VERSION.SDK_INT < 11) // Honeycomb 3.0 + props.setProperty("time.disabled", "false"); mergeResourceToFile(R.raw.router_config, "router.config", props); mergeResourceToFile(R.raw.logger_config, "logger.config", null); mergeResourceToFile(R.raw.i2ptunnel_config, "i2ptunnel.config", null);