@Override
  public void produceResults(final Consumer<EncodedImage> consumer, final ProducerContext context) {
    if (context.getImageRequest().getResizeOptions() == null) {
      consumer.onNewResult(null, Consumer.IS_LAST);
    } else {
      boolean requested = produceResultsFromThumbnailProducer(0, consumer, context);
      if (!requested) {
        consumer.onNewResult(null, Consumer.IS_LAST);
      }
    }
  }
Producer that will attempt to retrieve a thumbnail from one or more producers.

<p>The producer will try to get a result from each producer only if there is a good chance of it
being able to produce a sufficient result.

<p>If no underlying producer can provide a suitable result, null result is returned to the
consumer
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/ThumbnailBranchProducer.java