Remove title only ab test

pull/14/head
Sam Bosley 13 years ago
parent 8d491c5ad5
commit a191063395

@ -136,10 +136,7 @@ public class ABTests {
} }
} }
public static final String AB_TITLE_ONLY = "android_title_only"; //$NON-NLS-1$
private void initialize() { private void initialize() {
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$
} }
} }

@ -12,8 +12,6 @@ import com.todoroo.astrid.activity.BeastModePreferences;
import com.todoroo.astrid.core.SortHelper; import com.todoroo.astrid.core.SortHelper;
import com.todoroo.astrid.data.Task; import com.todoroo.astrid.data.Task;
import com.todoroo.astrid.service.ThemeService; import com.todoroo.astrid.service.ThemeService;
import com.todoroo.astrid.service.abtesting.ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
public class AstridDefaultPreferenceSpec extends AstridPreferenceSpec { public class AstridDefaultPreferenceSpec extends AstridPreferenceSpec {
@ -132,8 +130,7 @@ public class AstridDefaultPreferenceSpec extends AstridPreferenceSpec {
setPreference(prefs, editor, r, R.string.p_show_task_edit_comments, true, ifUnset); setPreference(prefs, editor, r, R.string.p_show_task_edit_comments, true, ifUnset);
setPreference(prefs, editor, r, R.string.p_taskRowStyle_v2, setPreference(prefs, editor, r, R.string.p_taskRowStyle_v2, "0", ifUnset); //$NON-NLS-1$
ABChooser.readChoiceForTest(ABTests.AB_TITLE_ONLY) == 0 ? "0" : "2", ifUnset); //$NON-NLS-1$ //$NON-NLS-2$
setPreference(prefs, editor, r, R.string.p_use_date_shortcuts, false, ifUnset); setPreference(prefs, editor, r, R.string.p_use_date_shortcuts, false, ifUnset);

Loading…
Cancel
Save