Set crop size on rounded corner test

Rounded corners require an explicit layer boundary definition.

Fixes: 137875576
Test: adb shell /data/nativetest/SurfaceFlinger_test/SurfaceFlinger_test --gtest_filter=LayerTypeAndRenderTypeTransactionTests/LayerTypeAndRenderTypeTransactionTest.SetCornerRadius
Change-Id: I5efc3ebb0f177c1fd107685cc485bfb0b1aec2f0
diff --git a/services/surfaceflinger/tests/Transaction_test.cpp b/services/surfaceflinger/tests/Transaction_test.cpp
index b1fde22..75bfa4d 100644
--- a/services/surfaceflinger/tests/Transaction_test.cpp
+++ b/services/surfaceflinger/tests/Transaction_test.cpp
@@ -1595,6 +1595,7 @@
 
     Transaction()
             .setCornerRadius(layer, cornerRadius)
+            .setCrop_legacy(layer, Rect(0, 0, size, size))
             .apply();
     {
         const uint8_t bottom = size - 1;
@@ -1621,6 +1622,7 @@
 
     Transaction()
             .setCornerRadius(parent, cornerRadius)
+            .setCrop_legacy(parent, Rect(0, 0, size, size))
             .reparent(child, parent->getHandle())
             .setPosition(child, 0, size / 2)
             .apply();