code: public void prepareDialog(Context c, Window window) {
  		if (mDividerPainter == null)
  			mDividerPainter = initPainter(c, mOverrideColor);
  		mDividerPainter.paint(window);
  	}
docs: Paint the dialog's divider if required to correctly customize it.