diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTInviteDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTInviteDelegate.java index cc9e6905a..d4047f5ee 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTInviteDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BTInviteDelegate.java @@ -63,6 +63,7 @@ public class BTInviteDelegate extends InviteDelegate { public static void launchForResult( Activity activity, int nMissing, int requestCode ) { + Assert.assertTrue( 0 < nMissing ); // don't call if nMissing == 0 Intent intent = new Intent( activity, BTInviteActivity.class ); intent.putExtra( INTENT_KEY_NMISSING, nMissing ); activity.startActivityForResult( intent, requestCode );