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

Commit d985cc14 authored by Jae Seo's avatar Jae Seo Committed by android-build-merger
Browse files

Merge "ExifInterface: Fix a bug to return only a JPEG-compressed thumbnail"...

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

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

Change-Id: I74bad33e94eedb9ae5fb57958a11bcfc354c8e41
parents 5f75618a ee1134a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
                }