/FileExtraction/Java_unseen/x0b_rcx/app/src/main/java/ca/pkay/rcloneexplorer/BroadcastReceivers/DownloadCancelAction.java
package ca.pkay.rcloneexplorer.BroadcastReceivers;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import ca.pkay.rcloneexplorer.Services.DownloadService;

public class DownloadCancelAction extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        Intent downloadIntent = new Intent(context, DownloadService.class);
        context.stopService(downloadIntent);
    }
}
