mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
support relay inviting based on an explicit constant rather than
whether it's a debug build.
This commit is contained in:
parent
a96afb2892
commit
03555f2f83
2 changed files with 2 additions and 1 deletions
|
@ -626,7 +626,7 @@ public class DlgDelegate {
|
|||
items.add( getString( R.string.invite_choice_nfc ) );
|
||||
means.add( DlgClickNotify.InviteMeans.NFC );
|
||||
}
|
||||
if ( BuildConfig.DEBUG ) {
|
||||
if ( XWApp.RELAYINVITE_SUPPORTED ) {
|
||||
items.add( getString( R.string.invite_choice_relay ) );
|
||||
means.add( DlgClickNotify.InviteMeans.RELAY );
|
||||
}
|
||||
|
|
|
@ -37,6 +37,7 @@ public class XWApp extends Application {
|
|||
public static final boolean GCMSUPPORTED = true;
|
||||
public static final boolean ATTACH_SUPPORTED = true;
|
||||
public static final boolean REMATCH_SUPPORTED = true;
|
||||
public static final boolean RELAYINVITE_SUPPORTED = true;
|
||||
public static final boolean DEBUG_LOCKS = false;
|
||||
public static final boolean LOG_LIFECYLE = false;
|
||||
public static final boolean DEBUG_EXP_TIMERS = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue