mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
turn off invite via SMS (for now)
This commit is contained in:
parent
f983e477a2
commit
2710ef7243
2 changed files with 2 additions and 1 deletions
|
@ -553,7 +553,7 @@ public class DlgDelegate {
|
||||||
final ArrayList<DlgClickNotify.InviteMeans> means =
|
final ArrayList<DlgClickNotify.InviteMeans> means =
|
||||||
new ArrayList<DlgClickNotify.InviteMeans>();
|
new ArrayList<DlgClickNotify.InviteMeans>();
|
||||||
ArrayList<String> items = new ArrayList<String>();
|
ArrayList<String> items = new ArrayList<String>();
|
||||||
if ( Utils.deviceSupportsSMS( m_activity ) ) {
|
if ( XWApp.SMS_INVITE_ENABLED && Utils.deviceSupportsSMS(m_activity) ) {
|
||||||
items.add( getString( R.string.invite_choice_sms ) );
|
items.add( getString( R.string.invite_choice_sms ) );
|
||||||
means.add( DlgClickNotify.InviteMeans.SMS );
|
means.add( DlgClickNotify.InviteMeans.SMS );
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,6 +42,7 @@ public class XWApp extends Application {
|
||||||
public static final boolean DEBUG_EXP_TIMERS = false;
|
public static final boolean DEBUG_EXP_TIMERS = false;
|
||||||
public static final boolean GCM_IGNORED = false;
|
public static final boolean GCM_IGNORED = false;
|
||||||
public static final boolean UDP_ENABLED = true;
|
public static final boolean UDP_ENABLED = true;
|
||||||
|
public static final boolean SMS_INVITE_ENABLED = false;
|
||||||
|
|
||||||
public static final String SMS_PUBLIC_HEADER = "-XW4";
|
public static final String SMS_PUBLIC_HEADER = "-XW4";
|
||||||
public static final int MAX_TRAY_TILES = 7; // comtypes.h
|
public static final int MAX_TRAY_TILES = 7; // comtypes.h
|
||||||
|
|
Loading…
Add table
Reference in a new issue