code: private void adaptIcon() {
          if (iconImageView != null) {
              ImageViewCompat.setImageTintList(iconImageView, iconTintList);
              ImageViewCompat.setImageTintMode(iconImageView, iconTintMode);
              iconImageView.setImageDrawable(icon);
              iconImageView.setVisibility(icon != null ? View.VISIBLE : View.GONE);
          }
  
          adaptTitleContainerVisibility();
      }
docs: Adapts the dialog's icon.