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: I4ab59b2b7ced0cf9449fdc780692cfcb707d8df4
This commit is contained in:
Insun Kang
2016-04-20 21:11:41 +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 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. // No thumbnail or non jpeg thumbnail.
break; break;
} }