public Producer < CloseableReference < PooledByteBuffer > > getNetworkFetchEncodedImageProducerSequence ( ) { synchronized ( this ) { if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . beginSection ( "ProducerSequenceFactory#getNetworkFetchEncodedImageProducerSequence" ) ; } if ( mNetworkEncodedImageProducerSequence == null ) { if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . beginSection ( "ProducerSequenceFactory#getNetworkFetchEncodedImageProducerSequence:init" ) ; } mNetworkEncodedImageProducerSequence = new RemoveImageTransformMetaDataProducer ( getBackgroundNetworkFetchToEncodedMemorySequence ( ) ) ; if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . endSection ( ) ; } } if ( FrescoSystrace . isTracing ( ) ) { FrescoSystrace . endSection ( ) ; } } return mNetworkEncodedImageProducerSequence ; }
Returns a sequence that can be used for a request for an encoded image from network .