Fix issue #517 - Media not displayed in public gallery for some devices

This commit is contained in:
Thomas 2022-11-27 09:28:33 +01:00
parent 4398873c08
commit 58dcdbf050
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ public class MediaHelper {
FileChannel in = null;
FileChannel out = null;
try {
File backupFile = new File(targeted_folder + "/" + fileName);
File backupFile = new File(targeted_folder.getAbsolutePath() + "/" + fileName);
//noinspection ResultOfMethodCallIgnored
backupFile.createNewFile();
fis = new FileInputStream(file);