Commit 58dcdbf0 authored by Thomas's avatar Thomas
Browse files

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

parent 4398873c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);