[Android] Add DCIM folder to default scanned directories
Geoffrey Métais
git at videolan.org
Fri Dec 23 16:38:34 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Fri Dec 23 16:17:14 2016 +0100| [87265a826465858c035d6747faa735dd62a65df2] | committer: Geoffrey Métais
Add DCIM folder to default scanned directories
> https://code.videolan.org/videolan/vlc-android/commit/87265a826465858c035d6747faa735dd62a65df2
---
vlc-android/src/org/videolan/vlc/VLCApplication.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/vlc-android/src/org/videolan/vlc/VLCApplication.java b/vlc-android/src/org/videolan/vlc/VLCApplication.java
index 25a9c29..cb11111 100644
--- a/vlc-android/src/org/videolan/vlc/VLCApplication.java
+++ b/vlc-android/src/org/videolan/vlc/VLCApplication.java
@@ -261,6 +261,7 @@ public class VLCApplication extends Application {
medialibrary.discover(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MOVIES).getPath());
medialibrary.discover(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_MUSIC).getPath());
medialibrary.discover(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PODCASTS).getPath());
+ medialibrary.discover(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM).getPath());
for (String externalStorage : AndroidDevices.getExternalStorageDirectories())
medialibrary.discover(externalStorage);
}
More information about the Android
mailing list