Add FOLDER_TYPE_NONE to MediaMetadata

PiperOrigin-RevId: 375883879
This commit is contained in:
gyumin 2021-05-26 08:39:20 +01:00 committed by Oliver Woodman
parent 2e5c95e80a
commit beb13f62a7

View File

@ -245,6 +245,7 @@ public final class MediaMetadata implements Bundleable {
@Documented @Documented
@Retention(RetentionPolicy.SOURCE) @Retention(RetentionPolicy.SOURCE)
@IntDef({ @IntDef({
FOLDER_TYPE_NONE,
FOLDER_TYPE_MIXED, FOLDER_TYPE_MIXED,
FOLDER_TYPE_TITLES, FOLDER_TYPE_TITLES,
FOLDER_TYPE_ALBUMS, FOLDER_TYPE_ALBUMS,
@ -255,6 +256,8 @@ public final class MediaMetadata implements Bundleable {
}) })
public @interface FolderType {} public @interface FolderType {}
/** Type for an item that is not a folder. */
public static final int FOLDER_TYPE_NONE = -1;
/** Type for a folder containing media of mixed types. */ /** Type for a folder containing media of mixed types. */
public static final int FOLDER_TYPE_MIXED = 0; public static final int FOLDER_TYPE_MIXED = 0;
/** Type for a folder containing only playable media. */ /** Type for a folder containing only playable media. */