docs: static void updateLeafRounding(
        DrawableParent parent,
        @Nullable RoundingParams roundingParams,
        Resources resources) {
      parent = findDrawableParentForLeaf(parent);
      Drawable child = parent.getDrawable();
      if (roundingParams != null &&
          roundingParams.getRoundingMethod() == RoundingParams.RoundingMethod.BITMAP_ONLY) {
        // Leaf rounding requested - either update the params or wrap the current drawable in a
        // drawable that will round it.
        if (child instanceof Rounded) {
          Rounded rounded = (Rounded) child;
          applyRoundingParams(rounded, roundingParams);
        } else if (child != null) {
          // Important: remove the child before wrapping it with a new parent!
          parent.setDrawable(sEmptyDrawable);
          Drawable rounded = applyLeafRounding(child, roundingParams, resources);
          parent.setDrawable(rounded);
        }
      } else if (child instanceof Rounded) {
        // No rounding requested - reset rounding params so no rounding occurs.
        resetRoundingParams((Rounded) child);
      }
    }