use track id as a temp folder name
This commit is contained in:
@@ -26,7 +26,7 @@ public class AudioDownloader{
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
var musicPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC).getAbsolutePath();
|
var musicPath = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC).getAbsolutePath();
|
||||||
var tempId = new Random().nextInt(100);
|
var tempId = track.d;
|
||||||
var downloadPath = musicPath + File.separator + tempId;
|
var downloadPath = musicPath + File.separator + tempId;
|
||||||
var notification = buildDownloadNotification(track, tempId);
|
var notification = buildDownloadNotification(track, tempId);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user