Skip to content

Commit

Permalink
fbandroid/libraries/fresco/drawee-backends/drawee-pipeline/src/main/j…
Browse files Browse the repository at this point in the history
…ava/com/facebook/drawee/backends/pipeline/PipelineDraweeControllerBuilderSupplier.java

Differential Revision: D66548149

fbshipit-source-id: cfead97099514d43ebb78e987dd4731407edfa35
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Nov 28, 2024
1 parent e410755 commit cba63ce
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
import com.facebook.fresco.ui.common.ImagePerfDataListener;
import com.facebook.imagepipeline.core.ImagePipeline;
import com.facebook.imagepipeline.core.ImagePipelineFactory;
import com.facebook.infer.annotation.Nullsafe;
import java.util.Set;
import javax.annotation.Nullable;

@Nullsafe(Nullsafe.Mode.LOCAL)
public class PipelineDraweeControllerBuilderSupplier
implements Supplier<PipelineDraweeControllerBuilder> {

Expand All @@ -42,6 +44,7 @@ public PipelineDraweeControllerBuilderSupplier(
Context context,
ImagePipelineFactory imagePipelineFactory,
@Nullable DraweeConfig draweeConfig) {
// NULLSAFE_FIXME[Parameter Not Nullable]
this(context, imagePipelineFactory, null, null, draweeConfig);
}

Expand All @@ -62,6 +65,7 @@ public PipelineDraweeControllerBuilderSupplier(
mPipelineDraweeControllerFactory.init(
context.getResources(),
DeferredReleaser.getInstance(),
// NULLSAFE_FIXME[Parameter Not Nullable]
imagePipelineFactory.getAnimatedDrawableFactory(context),
UiThreadImmediateExecutorService.getInstance(),
mImagePipeline.getBitmapMemoryCache(),
Expand Down

0 comments on commit cba63ce

Please sign in to comment.