public static @Status int turnOffStatusFlag(@Status int status, @Status int flag) {
    return status & ~flag;
  }
Updates a provided status by ensuring the specified flag is turned off.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/BaseConsumer.java