Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e02a63f0 authored by Romain Guy's avatar Romain Guy Committed by Android Code Review
Browse files

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

parents 7a029da6 8ce072d5
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -117955,6 +117955,17 @@
 visibility="public"
>
</field>
<field name="MEDIA_IGNORE_FILENAME"
 type="java.lang.String"
 transient="false"
 volatile="false"
 value="&quot;.nomedia&quot;"
 static="true"
 final="true"
 deprecated="not deprecated"
 visibility="public"
>
</field>
<field name="MEDIA_SCANNER_VOLUME"
 type="java.lang.String"
 transient="false"
+8 −0
Original line number Diff line number Diff line
@@ -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";
}