mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +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()
|
private void doRematch()
|
||||||
{
|
{
|
||||||
Intent intent = GamesList.makeRematchIntent( this, m_gi, m_rowid );
|
Intent intent = GamesList.makeRematchIntent( this, m_gi, m_rowid );
|
||||||
startActivity( intent );
|
if ( null != intent ) {
|
||||||
finish();
|
startActivity( intent );
|
||||||
|
finish();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private Button setListenerOrHide( int id )
|
private Button setListenerOrHide( int id )
|
||||||
|
|
Loading…
Add table
Reference in a new issue