mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 01:53:31 +00:00
Renamed DownloaderTracker to DownloaderManager
This commit is contained in:
parent
134d4e33e5
commit
e4d09f3bc0
4 changed files with 14 additions and 13 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue