public boolean getRetainImageOnFailure() {
    return mRetainImageOnFailure;
  }
Gets whether to retain image on failure.
drawee/src/main/java/com/facebook/drawee/controller/AbstractDraweeControllerBuilder.java