Merge "ExifInterface: Fix a bug to return only a JPEG-compressed thumbnail" into nyc-dev

am: 801d416

* commit '801d4161dd9e872bec73d855d21d030ba39a8b91':
  ExifInterface: Fix a bug to return only a JPEG-compressed thumbnail

Change-Id: I149ab7790af6442ce3f1437465723fd331718ef2
This commit is contained in:
Insun Kang
2016-04-20 17:59:32 +00:00
committed by android-build-merger

View File

@@ -933,7 +933,7 @@ void* MyMtpDatabase::getThumbnail(MtpObjectHandle handle, size_t& outThumbSize)
}
if (image_data.thumbnail.length == 0
|| image_data.thumbnail.format == ::piex::Image::kJpegCompressed) {
|| image_data.thumbnail.format != ::piex::Image::kJpegCompressed) {
// No thumbnail or non jpeg thumbnail.
break;
}