diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java index aa4c5dd6f..704cb8ff8 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java @@ -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 );