@Override
          protected @Nullable EncodedImage getResult() throws Exception {
            final Uri sourceUri = imageRequest.getSourceUri();

            final ExifInterface exifInterface = getExifInterface(sourceUri);
            if (exifInterface == null || !exifInterface.hasThumbnail()) {
              return null;
            }

            byte[] bytes = Preconditions.checkNotNull(exifInterface.getThumbnail());
            PooledByteBuffer pooledByteBuffer = mPooledByteBufferFactory.newByteBuffer(bytes);
            return buildEncodedImage(pooledByteBuffer, exifInterface);
          }
Checks whether the producer may be able to produce images of the specified size. This makes no
promise about being able to produce images for a particular source, only generally being able
to produce output of the desired resolution.

<p>In this case, assumptions are made about the common size of EXIF thumbnails which is that
they may be up to 512 pixels in each dimension.

@param resizeOptions the resize options from the current request
@return true if the producer can meet these needs
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/LocalExifThumbnailProducer.java