Fix issue #517 - Media not displayed in public gallery for some devices
This commit is contained in:
parent
4398873c08
commit
58dcdbf050
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue