add clearGroupPositions

This commit is contained in:
Eric House 2013-12-03 08:27:29 -08:00
parent 0c30dd6bf4
commit 7c2b3b3d15

View file

@ -319,6 +319,11 @@ public class XWPrefs {
setPrefsLong( context, R.string.key_default_group, val ); 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 ) public static void setGroupPositions( Context context, long[] posns )
{ {
String[] asStrs = new String[posns.length]; String[] asStrs = new String[posns.length];