add assert

This commit is contained in:
Eric House 2014-11-24 07:50:54 -08:00
parent a1cdef6ad8
commit 363215841d

View file

@ -236,6 +236,7 @@ public class BTService extends XWService {
public static void pingHost( Context context, String hostAddr, int gameID )
{
Assert.assertTrue( null != hostAddr && 0 < hostAddr.length() );
Intent intent = getIntentTo( context, PINGHOST );
intent.putExtra( ADDR_STR, hostAddr );
intent.putExtra( GAMEID_STR, gameID );