docs: public void setHierarchy(DH hierarchy) {
      mEventTracker.recordEvent(Event.ON_SET_HIERARCHY);
      final boolean isControllerValid = isControllerValid();
  
      setVisibilityCallback(null);
      mHierarchy = Preconditions.checkNotNull(hierarchy);
      Drawable drawable = mHierarchy.getTopLevelDrawable();
      onVisibilityChange(drawable == null || drawable.isVisible());
      setVisibilityCallback(this);
  
      if (isControllerValid) {
        mController.setHierarchy(hierarchy);
      }
    }