use track id as a temp folder name

This commit is contained in:
aliveoutside
2022-07-12 17:37:08 +03:00
parent 930792f983
commit 5f68809d9c
@@ -26,7 +26,7 @@ public class AudioDownloader{
return;
}
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 notification = buildDownloadNotification(track, tempId);