Ending user reengagement test; always enabled

pull/14/head
Sam Bosley 13 years ago
parent 04bc247509
commit 81e6146e72

@ -29,8 +29,6 @@ import com.todoroo.astrid.core.SortHelper;
import com.todoroo.astrid.data.Task;
import com.todoroo.astrid.data.TaskApiDao.TaskCriteria;
import com.todoroo.astrid.service.TaskService;
import com.todoroo.astrid.service.abtesting.ABChooser;
import com.todoroo.astrid.service.abtesting.ABTests;
import com.todoroo.astrid.utility.Constants;
public class ReengagementReceiver extends BroadcastReceiver {
@ -44,8 +42,6 @@ public class ReengagementReceiver extends BroadcastReceiver {
@Override
public void onReceive(Context context, Intent intent) {
DependencyInjectionService.getInstance().inject(this);
if (ABChooser.readChoiceForTest(ABTests.AB_TEST_REENGAGEMENT_ENABLED) == 0)
return;
int reengagementReminders = Preferences.getInt(ReengagementService.PREF_REENGAGEMENT_COUNT, 1);
Preferences.setInt(ReengagementService.PREF_REENGAGEMENT_COUNT, reengagementReminders + 1);

@ -120,9 +120,6 @@ public class ABTests {
addTest(AB_TEST_PRODUCTEEV_ENABLED, new int[] { 1, 1 },
new int[] { 1, 0 }, new String[] { "producteev-disabled", "producteev-enabled" }); //$NON-NLS-1$ //$NON-NLS-2$
addTest(AB_TEST_REENGAGEMENT_ENABLED, new int[] { 1, 9 },
new int[] { 1, 9 }, new String[] { "reengagement-disabled", "reengagement-enabled" }); //$NON-NLS-1$ //$NON-NLS-2$
boolean allowIdeasTab = Constants.MARKET_STRATEGY.allowIdeasTab();
int[] noIdeasTab = new int[] { 1, 0 };
@ -132,6 +129,5 @@ public class ABTests {
public static final String AB_TEST_IDEAS_TAB = "ideasTab"; //$NON-NLS-1$
public static final String AB_TEST_PRODUCTEEV_ENABLED = "producteev"; //$NON-NLS-1$
public static final String AB_TEST_REENGAGEMENT_ENABLED = "reengagement"; ////$NON-NLS-1$
}

Loading…
Cancel
Save