From 2710ef72431acb06b64918e29f3809c8f308c0b4 Mon Sep 17 00:00:00 2001 From: Eric House Date: Sun, 25 Jan 2015 14:00:03 -0800 Subject: [PATCH] turn off invite via SMS (for now) --- .../XWords4/src/org/eehouse/android/xw4/DlgDelegate.java | 2 +- xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java index 2ed53cf92..82c0c3afd 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java @@ -553,7 +553,7 @@ public class DlgDelegate { final ArrayList means = new ArrayList(); ArrayList items = new ArrayList(); - 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 ); } diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java index aa13d9497..4569dba9f 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWApp.java @@ -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