Renamed DownloaderTracker to DownloaderManager

This commit is contained in:
CappielloAntonio 2022-01-02 16:40:23 +01:00
parent 134d4e33e5
commit e4d09f3bc0
4 changed files with 14 additions and 13 deletions

View file

@ -28,7 +28,7 @@ import java.util.HashMap;
import java.util.List;
import java.util.concurrent.CopyOnWriteArraySet;
public class DownloaderTracker {
public class DownloaderManager {
private static final String TAG = "DownloadTracker";
private final Context context;
@ -41,7 +41,7 @@ public class DownloaderTracker {
}
@SuppressLint("UnsafeOptInUsageError")
public DownloaderTracker(Context context, DownloadManager downloadManager) {
public DownloaderManager(Context context, DownloadManager downloadManager) {
this.context = context.getApplicationContext();
listeners = new CopyOnWriteArraySet<>();

View file

@ -18,6 +18,7 @@ import androidx.media3.session.MediaSession;
import com.cappielloantonio.play.ui.activity.MainActivity;
import com.cappielloantonio.play.util.DownloadUtil;
import com.google.android.gms.cast.framework.CastContext;
public class MediaService extends MediaLibraryService {
private static final String TAG = "MediaService";