Skip to content

Commit

Permalink
Don't show reengagement reminders if reminders are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sbosley committed Apr 17, 2013
1 parent 267ef56 commit c4303b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public class ReengagementReceiver extends BroadcastReceiver {

@Override
public void onReceive(Context context, Intent intent) {
if (!Preferences.getBoolean(R.string.p_rmd_enabled, true))
return;

DependencyInjectionService.getInstance().inject(this);

int reengagementReminders = Preferences.getInt(ReengagementService.PREF_REENGAGEMENT_COUNT, 1);
Expand Down

0 comments on commit c4303b7

Please sign in to comment.