use GameUtils.getName() to avoid NPE -- it doesn't return null

This commit is contained in:
Eric House 2012-02-22 13:00:16 -08:00
parent 642ba9bc61
commit 8c7487dc91

View file

@ -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,