CyanogenMod/android_packages_providers_MediaProvider — comment on commit ac8521c5f94249a33ad7ba870467904b08904101
File:  line 0
By elevendroids:

This commit causes strange bug.
In example: Given a media file named: _01. Smoke On The Water (Deep Purple Cover).flac_, this code will try to treat it as an album art image! ( _"SkImageDecoder::Factory returned null"_ in logcat).
Moreover, the media file is copied to _albumthumbs_ cache directory...
I suggest a small change to the condition - file extension check:
```java
(...)
if (entry.equals("albumart.jpg")
|| ((entry.contains("cover") || entry.contains("front")) && entry.endsWith(".jpg")) {
(...)
```