public static synchronized void initialize(ImagePipelineConfigInterface imagePipelineConfig) {
    if (sInstance != null) {
      FLog.wtf(
          TAG,
          "ImagePipelineFactory has already been initialized!"
              + " `ImagePipelineFactory.initialize(...)` should only be called once to avoid"
              + " unexpected behavior.");
      if (sForceSingleInstance) {
        return;
      }
    }

    sInstance = new ImagePipelineFactory(imagePipelineConfig);
    if (sResetImagePipelineWhenFactoryChanges) {
      sImagePipeline = null;
    }
  }
Initializes {@link ImagePipelineFactory} with the specified config.
imagepipeline/src/main/java/com/facebook/imagepipeline/core/ImagePipelineFactory.java