@@ -71,8 +71,8 @@ public MaskableFrameLayout(
7171 }
7272
7373 private MaskableDelegate createMaskableDelegate () {
74- if (VERSION .SDK_INT >= VERSION_CODES .R ) {
75- return new MaskableDelegateV30 (this );
74+ if (VERSION .SDK_INT >= VERSION_CODES .TIRAMISU ) {
75+ return new MaskableDelegateV33 (this );
7676 } else if (VERSION .SDK_INT >= VERSION_CODES .LOLLIPOP ) {
7777 return new MaskableDelegateV21 (this );
7878 } else {
@@ -303,7 +303,7 @@ void invalidateClippingMethod(View view) {
303303 }
304304
305305 /**
306- * A {@link MaskableDelegate} for API 21-29 that uses {@link ViewOutlineProvider} to clip when the
306+ * A {@link MaskableDelegate} for API 21-32 that uses {@link ViewOutlineProvider} to clip when the
307307 * shape being clipped is a round rect with symmetrical corners and canvas clipping for all other
308308 * shapes.
309309 *
@@ -366,16 +366,16 @@ public void getOutline(View view, Outline outline) {
366366 }
367367
368368 /**
369- * A {@link MaskableDelegate} for API 30 + that uses {@link ViewOutlineProvider} to clip for
369+ * A {@link MaskableDelegate} for API 33 + that uses {@link ViewOutlineProvider} to clip for
370370 * all shapes.
371371 *
372- * <p>{@link Outline#setPath(Path)} was added in API 30 and allows using {@link
372+ * <p>{@link Outline#setPath(Path)} was added in API 33 and allows using {@link
373373 * ViewOutlineProvider} to clip for all shapes.
374374 */
375- @ RequiresApi (VERSION_CODES .R )
376- private static class MaskableDelegateV30 extends MaskableDelegate {
375+ @ RequiresApi (VERSION_CODES .TIRAMISU )
376+ private static class MaskableDelegateV33 extends MaskableDelegate {
377377
378- MaskableDelegateV30 (View view ) {
378+ MaskableDelegateV33 (View view ) {
379379 initMaskOutlineProvider (view );
380380 }
381381
0 commit comments