diff --git a/src/android/LocalFilesystem.java b/src/android/LocalFilesystem.java index 63402977..e2d28059 100644 --- a/src/android/LocalFilesystem.java +++ b/src/android/LocalFilesystem.java @@ -410,8 +410,7 @@ public long writeToFileAtURL(LocalFilesystemURL inputURL, String data, blockOffset += blockSize; } } - - // Always close the output + if (isPublicDirectory(absolutePath)) { broadcastNewFile(Uri.fromFile(new File(absolutePath))); }