[Android] src: Exclude .nomedia folders from library
Jean-Baptiste Kempf
jb at videolan.org
Sat Jul 7 19:33:38 CEST 2012
On Sat, Jul 07, 2012 at 02:36:11PM +0200, Edward Wang wrote :
> + /* .nomedia tells media players on Android to skip the
> + * folder in the media library because they don't contain
> + * useful music, such as notification sounds,
> + * navigation voice phrases etc.
> + */
> + if(new File(dir.getAbsolutePath() + "/.nomedia").exists()) {
> + continue;
Does this not leak?
Ain't there a static function to test existence?
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the Android
mailing list