mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
add assert
This commit is contained in:
parent
a1cdef6ad8
commit
363215841d
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue