From 8099b77e521a69a5d6eea25e3265556b92a3a7c1 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 11 Nov 2013 20:44:08 -0800 Subject: [PATCH] refuse to a create second game from an invitation unless a debug pref is set. --- xwords4/android/XWords4/res/values/common_rsrc.xml | 4 ++++ xwords4/android/XWords4/res/values/strings.xml | 2 +- xwords4/android/XWords4/res/xml/xwprefs.xml | 6 ++++++ .../XWords4/src/org/eehouse/android/xw4/GamesList.java | 4 +++- .../XWords4/src/org/eehouse/android/xw4/XWPrefs.java | 5 +++++ 5 files changed, 19 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/res/values/common_rsrc.xml b/xwords4/android/XWords4/res/values/common_rsrc.xml index fe8db7947..2f4f07742 100644 --- a/xwords4/android/XWords4/res/values/common_rsrc.xml +++ b/xwords4/android/XWords4/res/values/common_rsrc.xml @@ -107,6 +107,7 @@ key_na_browseall key_na_values key_enable_debug + key_enable_dup_invite key_download_path @@ -138,6 +139,9 @@ %1$s/%2$s Write DB to SD card Load DB from SD card + Accept duplicate invites + Accept invitations more than once + 1/2 1/3 diff --git a/xwords4/android/XWords4/res/values/strings.xml b/xwords4/android/XWords4/res/values/strings.xml index 4a07092f8..081b9237b 100644 --- a/xwords4/android/XWords4/res/values/strings.xml +++ b/xwords4/android/XWords4/res/values/strings.xml @@ -2166,5 +2166,5 @@ Thumbnails Setting for game snapshots - + Invitation ignored: already used diff --git a/xwords4/android/XWords4/res/xml/xwprefs.xml b/xwords4/android/XWords4/res/xml/xwprefs.xml index 7f99e9a11..b049b7e26 100644 --- a/xwords4/android/XWords4/res/xml/xwprefs.xml +++ b/xwords4/android/XWords4/res/xml/xwprefs.xml @@ -325,6 +325,12 @@ android:defaultValue="false" /> + +