mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +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,9 +2288,11 @@ 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 );
|
||||||
|
if ( null != intent ) {
|
||||||
startActivity( intent );
|
startActivity( intent );
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private Button setListenerOrHide( int id )
|
private Button setListenerOrHide( int id )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue