@ Nullable public synchronized List < ProducerContextCallbacks > setIsIntermediateResultExpectedNoCallbacks ( boolean isIntermediateResultExpected ) { if ( isIntermediateResultExpected == mIsIntermediateResultExpected ) { return null ; } mIsIntermediateResultExpected = isIntermediateResultExpected ; return new ArrayList <> ( mCallbacks ) ; }
Changes isIntermediateResultExpected property .