mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
add assertion
This commit is contained in:
parent
6da1b54636
commit
e394bf01e8
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Reference in a new issue