mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
don't crash if relayID null
This commit is contained in:
parent
8713b9e148
commit
d6ad17ad58
1 changed files with 3 additions and 1 deletions
|
@ -1748,7 +1748,9 @@ public class BoardActivity extends XWActivity
|
|||
break;
|
||||
case COMMS_CONN_RELAY:
|
||||
String relayID = DBUtils.getRelayID( this, m_rowid );
|
||||
id = relayID.hashCode();
|
||||
if ( null != relayID ) {
|
||||
id = relayID.hashCode();
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ( 0 != id ) {
|
||||
|
|
Loading…
Reference in a new issue