Skip to content

Commit 21806c9

Browse files
committed
fixup
1 parent 3a0b63f commit 21806c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/org/akanework/gramophone/ui/AudioPreviewActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ class AudioPreviewActivity : AppCompatActivity(), View.OnClickListener {
325325
pfd.close()
326326
}
327327
val f = File(l)
328-
if (f.exists())
328+
if (/* f.exists() && */ f.canRead())
329329
fileUri = "file://$l".toUri()
330330
else
331331
Log.w(TAG, "found $l from fd but it doesn't exist")

0 commit comments

Comments
 (0)