mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-03 07:53:37 +00:00
Renamed DownloaderTracker to DownloaderManager
This commit is contained in:
@@ -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<>();
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user