/*
* Copyright (c) 2014. The Trustees of Indiana University.
*
* This version of the code is licensed under the MPL 2.0 Open Source license with additional
* healthcare disclaimer. If the user is an entity intending to commercialize any application
* that uses this code in a for-profit venture, please contact the copyright holder.
*/
package com.muzima.view.notifications;
import android.app.Activity;
import com.muzima.view.SyncIntent;
import static com.muzima.utils.Constants.DataSyncServiceConstants.COHORT_IDS;
import static com.muzima.utils.Constants.DataSyncServiceConstants.SYNC_NOTIFICATIONS;
import static com.muzima.utils.Constants.DataSyncServiceConstants.SYNC_TYPE;
import static com.muzima.utils.Constants.NotificationStatusConstants.RECEIVER_UUID;
public class SyncNotificationsIntent extends SyncIntent {
public SyncNotificationsIntent(Activity activity, String receiverUuid, String[] downloadedCohortsArray) {
super(activity);
putExtra(SYNC_TYPE, SYNC_NOTIFICATIONS);
putExtra(RECEIVER_UUID, receiverUuid);
putExtra(COHORT_IDS, downloadedCohortsArray);
}
}