Merge "Add and document .nomedia constant for MediaStore (Issue 6365)"

This commit is contained in:
Romain Guy
2010-05-19 00:03:34 -07:00
committed by Android Code Review
2 changed files with 19 additions and 0 deletions

View File

@@ -1695,4 +1695,12 @@ public final class MediaStore {
* Name of current volume being scanned by the media scanner.
*/
public static final String MEDIA_SCANNER_VOLUME = "volume";
/**
* Name of the file signaling the media scanner to ignore media in the containing directory
* and its subdirectories. Developers should use this to avoid application graphics showing
* up in the Gallery and likewise prevent application sounds and music from showing up in
* the Music app.
*/
public static final String MEDIA_IGNORE_FILENAME = ".nomedia";
}