class TextLayoutBuilder {

  public TextLayoutBuilder setTextDirection(TextDirectionHeuristicCompat textDirection) {
    if (mParams.textDirection != textDirection) {
      mParams.textDirection = textDirection;
      mSavedLayout = null;
    }
    return this;
  }

}