kopia lustrzana https://github.com/TeamNewPipe/NewPipe
Merge pull request #127 from 912d/download-directory
Added visible notification after succesful downloadpull/131/head
commit
870b0bf7aa
|
@ -90,6 +90,7 @@ public class DownloadDialog extends DialogFragment {
|
|||
request.setDestinationUri(Uri.fromFile(new File(
|
||||
defaultPreferences.getString("download_path_preference", "/storage/emulated/0/NewPipe")
|
||||
+ "/" + title + suffix)));
|
||||
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
|
||||
try {
|
||||
dm.enqueue(request);
|
||||
} catch (Exception e) {
|
||||
|
|
Ładowanie…
Reference in New Issue