|
|
@ -38,6 +38,10 @@ public class ABTests {
|
|
|
|
if (!Constants.ASTRID_LITE && ABChooser.readChoiceForTest(AB_USE_DATE_SHORTCUTS) == ABChooser.NO_OPTION) {
|
|
|
|
if (!Constants.ASTRID_LITE && ABChooser.readChoiceForTest(AB_USE_DATE_SHORTCUTS) == ABChooser.NO_OPTION) {
|
|
|
|
Preferences.clear(context.getString(R.string.p_use_date_shortcuts));
|
|
|
|
Preferences.clear(context.getString(R.string.p_use_date_shortcuts));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!Constants.ASTRID_LITE && ABChooser.readChoiceForTest(AB_SIMPLE_EDIT_BOXES) == ABChooser.NO_OPTION) {
|
|
|
|
|
|
|
|
Preferences.clear(context.getString(R.string.p_simple_input_boxes));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
@ -145,11 +149,16 @@ public class ABTests {
|
|
|
|
|
|
|
|
|
|
|
|
public static final String AB_TITLE_ONLY = "android_title_only"; //$NON-NLS-1$
|
|
|
|
public static final String AB_TITLE_ONLY = "android_title_only"; //$NON-NLS-1$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static final String AB_SIMPLE_EDIT_BOXES = "android_simple_edit_boxes"; //$NON-NLS-1$
|
|
|
|
|
|
|
|
|
|
|
|
private void initialize() {
|
|
|
|
private void initialize() {
|
|
|
|
addTest(AB_USE_DATE_SHORTCUTS, new int[] { 1, 1 },
|
|
|
|
addTest(AB_USE_DATE_SHORTCUTS, new int[] { 1, 1 },
|
|
|
|
new int[] { 1, 9 }, new String[] { "date-shortcuts-off", "date-shortcuts-on" }, false); //$NON-NLS-1$ //$NON-NLS-2$
|
|
|
|
new int[] { 1, 9 }, new String[] { "date-shortcuts-off", "date-shortcuts-on" }, false); //$NON-NLS-1$ //$NON-NLS-2$
|
|
|
|
|
|
|
|
|
|
|
|
addTest(AB_TITLE_ONLY, new int[] { 9, 1 },
|
|
|
|
addTest(AB_TITLE_ONLY, new int[] { 9, 1 },
|
|
|
|
new int[] { 1, 0 }, new String[] { "default-row-style", "title-only-style" }, false); //$NON-NLS-1$//$NON-NLS-2$
|
|
|
|
new int[] { 1, 0 }, new String[] { "default-row-style", "title-only-style" }, false); //$NON-NLS-1$//$NON-NLS-2$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addTest(AB_SIMPLE_EDIT_BOXES, new int[] { 1, 1 },
|
|
|
|
|
|
|
|
new int[] { 9, 1 }, new String[] { "default-box-style", "simple-box-style" }, false); //$NON-NLS-1$//$NON-NLS-2$
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|