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

Commit cd1d4b66 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removing a mimeIcon specific for album folders that are from...

Merge "Removing a mimeIcon specific for album folders that are from MediaProvider." into nyc-andromeda-dev
parents 52deaa67 81a60c51
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -44,12 +44,6 @@ public class IconUtils {
    public static Drawable loadMimeIcon(
            Context context, String mimeType, String authority, String docId, int mode) {
        if (Document.MIME_TYPE_DIR.equals(mimeType)) {
            // TODO: eventually move these hacky assets into that package
            if ("com.android.providers.media.documents".equals(authority)
                    && docId.startsWith("album")) {
                return context.getDrawable(R.drawable.ic_doc_album);
            }

            if (mode == State.MODE_GRID) {
                return context.getDrawable(R.drawable.ic_grid_folder);
            } else {