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

Commit ad5b0ccf authored by Ivan Chiang's avatar Ivan Chiang
Browse files

Align the supported mime types for Documents root

Test: manual
Bug: 138173113
Change-Id: I6b6f0031d104ab704a62dd2feabe22a46ef8763d
parent 2fe45775
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -250,6 +250,9 @@ public class RootInfo implements Durable, Parcelable, Comparable<RootInfo> {
        } else if (isDocuments()) {
            derivedType = TYPE_DOCUMENTS;
            derivedIcon = LOAD_FROM_CONTENT_RESOLVER;
            // The mime type of Documents root from MediaProvider is "*/*" for performance concern.
            // Align the supported mime types with document search chip
            derivedMimeTypes = MimeTypes.getDocumentMimeTypeArray();
        } else if (isRecents()) {
            derivedType = TYPE_RECENTS;
        } else if (isBugReport()) {