am 2dc7c6c4: merge from open-source master
Merge commit '2dc7c6c4153380fc64b99d37d763d3f0d1cac04d' into kraken * commit '2dc7c6c4153380fc64b99d37d763d3f0d1cac04d': Add and document .nomedia constant for MediaStore (Issue 6365)
This commit is contained in:
committed by
Android Git Automerger
commit
bea97a897b
@@ -135393,6 +135393,17 @@
|
|||||||
visibility="public"
|
visibility="public"
|
||||||
>
|
>
|
||||||
</field>
|
</field>
|
||||||
|
<field name="MEDIA_IGNORE_FILENAME"
|
||||||
|
type="java.lang.String"
|
||||||
|
transient="false"
|
||||||
|
volatile="false"
|
||||||
|
value="".nomedia""
|
||||||
|
static="true"
|
||||||
|
final="true"
|
||||||
|
deprecated="not deprecated"
|
||||||
|
visibility="public"
|
||||||
|
>
|
||||||
|
</field>
|
||||||
<field name="MEDIA_SCANNER_VOLUME"
|
<field name="MEDIA_SCANNER_VOLUME"
|
||||||
type="java.lang.String"
|
type="java.lang.String"
|
||||||
transient="false"
|
transient="false"
|
||||||
|
|||||||
@@ -1819,4 +1819,12 @@ public final class MediaStore {
|
|||||||
* Name of current volume being scanned by the media scanner.
|
* Name of current volume being scanned by the media scanner.
|
||||||
*/
|
*/
|
||||||
public static final String MEDIA_SCANNER_VOLUME = "volume";
|
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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user