code: public final void setText(@Nullable final String text) {
          boolean hasDisabledDependents = shouldDisableDependents();
          this.text = text;
          persistString(text);
          boolean isDisablingDependents = shouldDisableDependents();
  
          if (isDisablingDependents != hasDisabledDependents) {
              notifyDependencyChange(isDisablingDependents);
          }
  
          notifyChanged();
      }
docs: Sets the current text of the preference. By setting a value, it will be persisted.
  
  @param text
  The text, which should be set, as a {@link String}