mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-15 15:41:24 +01:00
add NFC to selfAddress of new games (when supported)
This commit is contained in:
parent
a18e19e574
commit
60bc43724d
2 changed files with 4 additions and 1 deletions
|
@ -642,6 +642,9 @@ public class GameConfigDelegate extends DelegateBase
|
|||
// load if the first time through....
|
||||
if ( null == m_conTypes ) {
|
||||
m_conTypes = (CommsConnTypeSet)m_carOrig.conTypes.clone();
|
||||
if ( NFCUtils.nfcAvail( m_activity )[0] ) {
|
||||
m_conTypes.add( CommsConnType.COMMS_CONN_NFC );
|
||||
}
|
||||
}
|
||||
|
||||
if ( !m_isNewGame ) {
|
||||
|
|
|
@ -152,7 +152,7 @@ public class MultiMsgSink implements TransportProcs {
|
|||
CommsAddrRec addr, CommsConnType typ,
|
||||
NetLaunchInfo nli, int timestamp )
|
||||
{
|
||||
Log.d( TAG, "sendInvite(%s, %s, %s)", addr, typ, nli );
|
||||
Log.d( TAG, "sendInvite(to=%s, typ=%s, nli=%s)", addr, typ, nli );
|
||||
boolean success = false;
|
||||
InviteMeans means = null;
|
||||
String target = null;
|
||||
|
|
Loading…
Reference in a new issue