[MaterialButton] Update corner radius behavior to override StateListShapeAppearance if set

PiperOrigin-RevId: 784640767
This commit is contained in:
rightnao 2025-07-18 18:12:27 +00:00 committed by Dan Nizri
parent e39f765a9d
commit 85e2fd04bd

View File

@ -315,7 +315,6 @@ public class MaterialButton extends AppCompatButton implements Checkable, Shapea
if (shapeAppearance instanceof StateListShapeAppearanceModel) {
materialButtonHelper.setCornerSpringForce(createSpringForce());
materialButtonHelper.setShapeAppearance(shapeAppearance);
}
setOpticalCenterEnabled(opticalCenterEnabled);