package com.liulishuo.filedownloader.services; import android.content.Intent; import com.liulishuo.filedownloader.model.FileDownloadModel; import com.liulishuo.filedownloader.util.FileDownloadHelper; /* loaded from: classes.dex */ public class FileDownloadBroadcastHandler { public static void a(FileDownloadModel fileDownloadModel) { if (fileDownloadModel == null) { throw new IllegalArgumentException(); } if (fileDownloadModel.getStatus() != -3) { throw new IllegalStateException(); } Intent intent = new Intent("filedownloader.intent.action.completed"); intent.putExtra("model", fileDownloadModel); FileDownloadHelper.a().sendBroadcast(intent); } }