Showing
5 changed files
with
6 additions
and
6 deletions
... | @@ -224,7 +224,7 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe | ... | @@ -224,7 +224,7 @@ public class CouponsetInfoActivity extends Activity implements View.OnClickListe |
224 | new Thread(() -> { | 224 | new Thread(() -> { |
225 | if (!Thread.currentThread().isInterrupted()) { | 225 | if (!Thread.currentThread().isInterrupted()) { |
226 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); | 226 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); |
227 | - WarplyManager.getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), mCampaignsCallback); | 227 | + WarplyManager.getCampaigns(mCampaignsCallback); |
228 | } | 228 | } |
229 | }).start(); | 229 | }).start(); |
230 | } else { | 230 | } else { | ... | ... |
... | @@ -100,7 +100,7 @@ public class HomeFragment extends Fragment implements View.OnClickListener, Swip | ... | @@ -100,7 +100,7 @@ public class HomeFragment extends Fragment implements View.OnClickListener, Swip |
100 | @Override | 100 | @Override |
101 | public void onRefresh() { | 101 | public void onRefresh() { |
102 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); | 102 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); |
103 | - WarplyManager.getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), mCampaignsCallback); | 103 | + WarplyManager.getCampaigns(mCampaignsCallback); |
104 | mSwipeRefresh.setRefreshing(false); | 104 | mSwipeRefresh.setRefreshing(false); |
105 | } | 105 | } |
106 | 106 | ... | ... |
... | @@ -39,7 +39,7 @@ public class EventCampaignCouponService extends Worker { | ... | @@ -39,7 +39,7 @@ public class EventCampaignCouponService extends Worker { |
39 | @Override | 39 | @Override |
40 | public Result doWork() { | 40 | public Result doWork() { |
41 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); | 41 | WarplyManager.getUserCouponsWithCouponsets(mUserCouponsReceiver); |
42 | - WarplyManager.getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), mCampaignsCallback); | 42 | + WarplyManager.getCampaigns(mCampaignsCallback); |
43 | 43 | ||
44 | return Result.success(); | 44 | return Result.success(); |
45 | } | 45 | } | ... | ... |
... | @@ -48,7 +48,7 @@ public class EventQuestionnaireService extends Worker { | ... | @@ -48,7 +48,7 @@ public class EventQuestionnaireService extends Worker { |
48 | } | 48 | } |
49 | } | 49 | } |
50 | 50 | ||
51 | - WarplyManager.getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), new CallbackReceiver<ArrayList<Campaign>>() { | 51 | + WarplyManager.getCampaigns(new CallbackReceiver<ArrayList<Campaign>>() { |
52 | @Override | 52 | @Override |
53 | public void onSuccess(ArrayList<Campaign> result) { | 53 | public void onSuccess(ArrayList<Campaign> result) { |
54 | WarpUtils.log("SUCCESS_QUESTIONNAIRE_EVENT"); | 54 | WarpUtils.log("SUCCESS_QUESTIONNAIRE_EVENT"); | ... | ... |
... | @@ -4506,7 +4506,7 @@ public class WarplyManager { | ... | @@ -4506,7 +4506,7 @@ public class WarplyManager { |
4506 | dynatraceEvent.setEventName("custom_success_read_campaign_loyalty"); | 4506 | dynatraceEvent.setEventName("custom_success_read_campaign_loyalty"); |
4507 | EventBus.getDefault().post(new WarplyEventBusManager(dynatraceEvent)); | 4507 | EventBus.getDefault().post(new WarplyEventBusManager(dynatraceEvent)); |
4508 | 4508 | ||
4509 | - getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), new CallbackReceiver<ArrayList<Campaign>>() { | 4509 | + getCampaigns(new CallbackReceiver<ArrayList<Campaign>>() { |
4510 | @Override | 4510 | @Override |
4511 | public void onSuccess(ArrayList<Campaign> result) { | 4511 | public void onSuccess(ArrayList<Campaign> result) { |
4512 | OneTimeWorkRequest mywork = new OneTimeWorkRequest.Builder(EventCampaignService.class).build(); | 4512 | OneTimeWorkRequest mywork = new OneTimeWorkRequest.Builder(EventCampaignService.class).build(); |
... | @@ -4527,7 +4527,7 @@ public class WarplyManager { | ... | @@ -4527,7 +4527,7 @@ public class WarplyManager { |
4527 | dynatraceEvent.setEventName("custom_success_read_campaign_loyalty"); | 4527 | dynatraceEvent.setEventName("custom_success_read_campaign_loyalty"); |
4528 | EventBus.getDefault().post(new WarplyEventBusManager(dynatraceEvent)); | 4528 | EventBus.getDefault().post(new WarplyEventBusManager(dynatraceEvent)); |
4529 | 4529 | ||
4530 | - getCampaigns(new WarplyGetCampaignsRequest().setLanguage("en"), new CallbackReceiver<ArrayList<Campaign>>() { | 4530 | + getCampaigns(new CallbackReceiver<ArrayList<Campaign>>() { |
4531 | @Override | 4531 | @Override |
4532 | public void onSuccess(ArrayList<Campaign> result) { | 4532 | public void onSuccess(ArrayList<Campaign> result) { |
4533 | OneTimeWorkRequest mywork = new OneTimeWorkRequest.Builder(EventCampaignService.class).build(); | 4533 | OneTimeWorkRequest mywork = new OneTimeWorkRequest.Builder(EventCampaignService.class).build(); | ... | ... |
-
Please register or login to post a comment