From 7c2b3b3d15f161ba3d72a51e5577593a7e225890 Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 3 Dec 2013 08:27:29 -0800 Subject: [PATCH] add clearGroupPositions --- .../android/XWords4/src/org/eehouse/android/xw4/XWPrefs.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWPrefs.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWPrefs.java index d21fc202d..fe72baf9d 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWPrefs.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/XWPrefs.java @@ -319,6 +319,11 @@ public class XWPrefs { setPrefsLong( context, R.string.key_default_group, val ); } + public static void clearGroupPositions( Context context ) + { + setPrefsString( context, R.string.key_group_posns, null ); + } + public static void setGroupPositions( Context context, long[] posns ) { String[] asStrs = new String[posns.length];