Remove and finalize calendar event time ab test. Cal events will start at task due time by default

pull/14/head
Sam Bosley 12 years ago
parent f9cde8e189
commit 1ec1cc53f5

@ -119,10 +119,7 @@ public class ABTests {
bundles.put(testKey, bundle);
}
public static final String AB_TEST_CAL_KEY = "cal_ab_test"; //$NON-NLS-1$
private void initialize() {
addTest(AB_TEST_CAL_KEY, new int[] {1, 1}, new int[] {1, 1},
new String[] {"end-at-due-time", "start-at-due-time"}); //$NON-NLS-1$ //$NON-NLS-2$
}
}

@ -20,8 +20,6 @@ import com.todoroo.astrid.core.PluginServices;
import com.todoroo.astrid.data.Task;
import com.todoroo.astrid.data.User;
import com.todoroo.astrid.service.ThemeService;
import com.todoroo.astrid.service.abtesting.ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
public class AstridPreferences {
@ -64,8 +62,7 @@ public class AstridPreferences {
Preferences.setIfUnset(prefs, editor, r, R.string.p_third_party_addons, false);
Preferences.setIfUnset(prefs, editor, r, R.string.p_ideas_tab_enabled, true);
Preferences.setIfUnset(prefs, editor, r, R.string.p_end_at_deadline,
ABChooser.readChoiceForTest(ABTests.AB_TEST_CAL_KEY) != 0);
Preferences.setIfUnset(prefs, editor, r, R.string.p_end_at_deadline, true);
if ("white-blue".equals(Preferences.getStringValue(R.string.p_theme))) { //$NON-NLS-1$ migrate from when white-blue wasn't the default
Preferences.setString(R.string.p_theme, ThemeService.THEME_WHITE);

Loading…
Cancel
Save