I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 67af1a17 authored by zzz's avatar zzz
Browse files

- Don't display UPnP info on peers page in Android

  to prevent crash
parent d7c3ffa4
No related branches found
No related tags found
No related merge requests found
......@@ -36,6 +36,7 @@ import net.i2p.router.transport.ntcp.NTCPTransport;
import net.i2p.router.transport.udp.UDPTransport;
import net.i2p.util.Addresses;
import net.i2p.util.Log;
import net.i2p.util.SystemVersion;
import net.i2p.util.Translate;
public class TransportManager implements TransportEventListener {
......@@ -569,9 +570,10 @@ public class TransportManager implements TransportEventListener {
}
buf.append("</pre>\n");
out.write(buf.toString());
if (_upnpManager != null)
// newer androids crash w/ network on IO thread
if (_upnpManager != null && !SystemVersion.isAndroid())
out.write(_upnpManager.renderStatusHTML());
buf.append("</p>\n");
out.write("</p>\n");
out.flush();
}
......
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