don't crash if relayID null

This commit is contained in:
Eric House 2012-04-18 23:07:14 -07:00
parent 8713b9e148
commit d6ad17ad58

View file

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