diff --git a/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformContentViewGroup.java b/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformContentViewGroup.java index 4c50e26d0939..7e01c07e4ca0 100644 --- a/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformContentViewGroup.java +++ b/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformContentViewGroup.java @@ -28,13 +28,12 @@ public PlatformContentViewGroup(Context context, AttributeSet attrs, int defStyl /** * Set by C#, determining if we need to call getClipPath() + * Intentionally invalidates the view in case clip changed * @param hasClip */ protected final void setHasClip(boolean hasClip) { - if (this.hasClip != hasClip) { - this.hasClip = hasClip; - postInvalidate(); - } + this.hasClip = hasClip; + invalidate(); } @Override diff --git a/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java b/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java index b4534520aff9..eeeb81a12306 100644 --- a/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java +++ b/src/Core/AndroidNative/maui/src/main/java/com/microsoft/maui/PlatformWrapperView.java @@ -20,13 +20,12 @@ public PlatformWrapperView(Context context) { /** * Set by C#, determining if we need to call drawShadow() + * Intentionally invalidates the view in case shadow definition changed * @param hasShadow */ protected final void setHasShadow(boolean hasShadow) { - if (this.hasShadow != hasShadow) { - this.hasShadow = hasShadow; - postInvalidate(); - } + this.hasShadow = hasShadow; + invalidate(); } @Override diff --git a/src/Core/src/maui.aar b/src/Core/src/maui.aar index ce688c7d1726..34a98613c857 100644 Binary files a/src/Core/src/maui.aar and b/src/Core/src/maui.aar differ