diff options
author | 2016-10-11 11:10:33 -0700 | |
---|---|---|
committer | 2016-10-11 11:11:38 -0700 | |
commit | 81a60c51ad5e09d3c0ba76068c2644243a04a721 (patch) | |
tree | a2e4ad007ab4403b98aee500e83ddaa8b3c09fbd | |
parent | 0fa2a2cf0b9b52c6535ab26f2d46e592bb93f44c (diff) |
Removing a mimeIcon specific for album folders that are from MediaProvider.
Bug: 32019092
Change-Id: I959cbcbf9632c333d93d4d33f88bc121293868c5
-rw-r--r-- | src/com/android/documentsui/IconUtils.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/com/android/documentsui/IconUtils.java b/src/com/android/documentsui/IconUtils.java index 52f3e73c3..5a87f876b 100644 --- a/src/com/android/documentsui/IconUtils.java +++ b/src/com/android/documentsui/IconUtils.java @@ -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 { |