mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
don't launch intent if null
This commit is contained in:
parent
1b185d1575
commit
710f9c68ff
1 changed files with 4 additions and 2 deletions
|
@ -2288,8 +2288,10 @@ public class BoardActivity extends XWActivity
|
|||
private void doRematch()
|
||||
{
|
||||
Intent intent = GamesList.makeRematchIntent( this, m_gi, m_rowid );
|
||||
startActivity( intent );
|
||||
finish();
|
||||
if ( null != intent ) {
|
||||
startActivity( intent );
|
||||
finish();
|
||||
}
|
||||
}
|
||||
|
||||
private Button setListenerOrHide( int id )
|
||||
|
|
Loading…
Reference in a new issue