code: public void setFontScale(float fontScale) {
      this.fontScale = fontScale;
  
      for (CaptioningChangeListener captioningChangeListener : listeners) {
        captioningChangeListener.onFontScaleChanged(fontScale);
      }
    }
docs: Sets the value to be returned by {@link CaptioningManager#getFontScale()}