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

Commit 0be3ba8b authored by Karl Ostmo's avatar Karl Ostmo Committed by Steve Kondik
Browse files

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

Change-Id: Ic9c4a784187cd1264584992411916a5beeefd864
parent 0b6eea3e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -118283,6 +118283,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";
}