turn off invite via SMS (for now)

This commit is contained in:
Eric House 2015-01-25 14:00:03 -08:00
parent f983e477a2
commit 2710ef7243
2 changed files with 2 additions and 1 deletions

View file

@ -553,7 +553,7 @@ public class DlgDelegate {
final ArrayList<DlgClickNotify.InviteMeans> means =
new ArrayList<DlgClickNotify.InviteMeans>();
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 ) );
means.add( DlgClickNotify.InviteMeans.SMS );
}

View file

@ -42,6 +42,7 @@ public class XWApp extends Application {
public static final boolean DEBUG_EXP_TIMERS = false;
public static final boolean GCM_IGNORED = false;
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 int MAX_TRAY_TILES = 7; // comtypes.h