Skip to content

Commit

Permalink
Ending user reengagement test; always enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sbosley committed Jun 15, 2012
1 parent 04bc247 commit 81e6146
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Expand Up @@ -29,8 +29,6 @@
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 {
Expand All @@ -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);
Expand Down
4 changes: 0 additions & 4 deletions astrid/src/com/todoroo/astrid/service/abtesting/ABTests.java
Expand Up @@ -120,9 +120,6 @@ private void initialize() { // Set up
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 };

Expand All @@ -132,6 +129,5 @@ private void initialize() { // Set up

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$

}

0 comments on commit 81e6146

Please sign in to comment.