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 in = null;
|
||||||
FileChannel out = null;
|
FileChannel out = null;
|
||||||
try {
|
try {
|
||||||
File backupFile = new File(targeted_folder + "/" + fileName);
|
File backupFile = new File(targeted_folder.getAbsolutePath() + "/" + fileName);
|
||||||
//noinspection ResultOfMethodCallIgnored
|
//noinspection ResultOfMethodCallIgnored
|
||||||
backupFile.createNewFile();
|
backupFile.createNewFile();
|
||||||
fis = new FileInputStream(file);
|
fis = new FileInputStream(file);
|
||||||
|
|
Loading…
Reference in New Issue