diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-11-18 09:47:01 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-11-18 09:47:01 +0000 |
commit | 611a41a1dc21f10ec32963f3e12a7925cb2a3d66 (patch) | |
tree | d9505d3e3024e6b5d4c1abede941615f83c00daa /app/src/main/java | |
parent | 7a449f165ad78ead5897179375db95786b8afc75 (diff) | |
download | infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar.gz infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar.bz2 infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar.lz infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar.xz infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.tar.zst infinity-for-reddit-611a41a1dc21f10ec32963f3e12a7925cb2a3d66.zip |
Save Reddit videos in DIRECTORY_MOVIES instead of DIRECTORY_PICTURES to prevent crash on Android 10.
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java index 575a0868..28133592 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Service/DownloadRedditVideoService.java @@ -178,7 +178,7 @@ public class DownloadRedditVideoService extends Service { return; } } else { - destinationFileUriString = separateDownloadFolder ? Environment.DIRECTORY_PICTURES + "/Infinity/" + subredditName + "/" : Environment.DIRECTORY_PICTURES + "/Infinity/"; + destinationFileUriString = separateDownloadFolder ? Environment.DIRECTORY_MOVIES + "/Infinity/" + subredditName + "/" : Environment.DIRECTORY_MOVIES + "/Infinity/"; } isDefaultDestination = true; } else { |