From eab12200af8e0bc1fe687157637c9abc3c4b4ad7 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 26 Nov 2013 07:11:22 -0800 Subject: [PATCH] add debug preference to determine whether to use sendDataMessage() --- xwords4/android/XWords4/res/values/common_rsrc.xml | 3 +++ xwords4/android/XWords4/res/xml/xwprefs.xml | 5 +++++ .../XWords4/src/org/eehouse/android/xw4/SMSService.java | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/res/values/common_rsrc.xml b/xwords4/android/XWords4/res/values/common_rsrc.xml index 72aa19275..d824161e9 100644 --- a/xwords4/android/XWords4/res/values/common_rsrc.xml +++ b/xwords4/android/XWords4/res/values/common_rsrc.xml @@ -39,6 +39,7 @@ key_dict_host3 key_logging_on key_show_sms + key_send_data_sms key_init_hintsallowed key_init_nethintsallowed key_init_autojuggle @@ -137,6 +138,8 @@ Enable debug features Menuitems etc. (release builds only) + Send SMS as data + (fails on CDMA phones) Source version id Relay game port diff --git a/xwords4/android/XWords4/res/xml/xwprefs.xml b/xwords4/android/XWords4/res/xml/xwprefs.xml index e6ad3a3e9..2b8a061d5 100644 --- a/xwords4/android/XWords4/res/xml/xwprefs.xml +++ b/xwords4/android/XWords4/res/xml/xwprefs.xml @@ -328,6 +328,11 @@ android:title="Show SMS sends, receives" android:defaultValue="false" /> +