@Deprecated
  public ImageRequestBuilder setAutoRotateEnabled(boolean enabled) {
    if (enabled) {
      return setRotationOptions(RotationOptions.autoRotate());
    } else {
      return setRotationOptions(RotationOptions.disableRotation());
    }
  }
@ Deprecated public ImageRequestBuilder setAutoRotateEnabled ( boolean enabled ) { if ( enabled ) { return setRotationOptions ( RotationOptions . autoRotate ( ) ) ; } else { return setRotationOptions ( RotationOptions . disableRotation ( ) ) ; } }
Enables or disables auto-rotate for the image in case image has orientation.
@return the updated builder instance
@param enabled
@deprecated Use #setRotationOptions(RotationOptions)