mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
remove bad assert
Can't connect to relay when laptop (emu case) or device has no network, so stop asserting all the time on airplanes :-)
This commit is contained in:
parent
2e4d3a1276
commit
0960ed4963
1 changed files with 1 additions and 1 deletions
|
@ -1327,8 +1327,8 @@ public class RelayService extends XWJIService
|
|||
try {
|
||||
DatagramSocket udpSocket = s_UDPSocket;
|
||||
if ( null == udpSocket ) {
|
||||
// will be null if e.g. device or emulator doesn't have network
|
||||
udpSocket = getService().connectSocketOnce(); // block until this is done
|
||||
Assert.assertTrue( null != udpSocket || !BuildConfig.DEBUG );
|
||||
}
|
||||
|
||||
byte[] buf = new byte[1024];
|
||||
|
|
Loading…
Reference in a new issue