don't launch intent if null

This commit is contained in:
Eric House 2014-01-23 07:46:58 -08:00
parent 1b185d1575
commit 710f9c68ff

View file

@ -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 )