mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-04 20:46:28 +01:00
use GameUtils.getName() to avoid NPE -- it doesn't return null
This commit is contained in:
parent
642ba9bc61
commit
8c7487dc91
1 changed files with 1 additions and 1 deletions
|
@ -1695,7 +1695,7 @@ public class BoardActivity extends XWActivity
|
|||
private void tryBTInvites()
|
||||
{
|
||||
if ( null != m_btDevs ) {
|
||||
String gameName = DBUtils.getName( this, m_rowid );
|
||||
String gameName = GameUtils.getName( this, m_rowid );
|
||||
m_invitesPending = m_btDevs.length;
|
||||
for ( String dev : m_btDevs ) {
|
||||
BTService.inviteRemote( this, dev, m_gi.gameID, gameName,
|
||||
|
|
Loading…
Add table
Reference in a new issue